Constructors

  • Creates an empty fuel tank with the given maximum fuel capacity.

    Parameters

    • maxFuel: number

      The maximum fuel capacity of the tank.

    Returns FuelTank

Methods