Airbase

This class describes an airbase, primarily used for housing aircraft.

ATTRIBUTES

  • id: (str) unique identifier for the side.

    • Example: "47179c9e-aa00-4bba-a784-cec9108fdb4b"

  • name: (str) name of the side.

    • Example: "BLUE"

  • sideName: (str) side to which airbase belongs.

  • sideColor: (str) the color of the airbase's current side.

  • className: (str) type of airbase.

  • latitude: (float) latitude position.

  • longitude: (float) longitude position.

  • altitude: (float) altitude in feet.

  • aircraft: (list[Aircraft]) list of aircraft housed at the airbase.

METHODS

  • toJSON(): (str) returns this object as a JSON.

Last updated