Scenario

Represents the entire scenario at a simulation timestep (defined by currentTime).

ATTRIBUTES:

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

    • Example: "6806c96b-14f8-4c52-ba60-c6d24e238a17"

  • name: (str) name of the scenario.

    • Example: "Test Scenario"

  • startTime: (int) start time of the scenario in Unix timestamp format.

    • Example: 1699073110

  • currentTime: (int) current time in the scenario in Unix timestamp format.

    • Example: 1699073110

  • duration: (int) total duration of the scenario in seconds.

    • Example: 14400

  • timeCompression: (int) the speed at which the simulation runs.

  • sides: (list[Side]) describes the different sides involved in the scenario (e.g., BLUE, RED).

  • aircraft: (list[Aircraft]) list of aircraft in the scenario.

  • ships: (list[Ship]) list of ships in the scenario.

  • facilities: (list[Facility]) list of facilities (e.g. SAMs) in the scenario.

  • airbases: (list[Airbase]) list of airbases in the scenario.

  • weapons: (list[Weapon]) list of weapons that are currently deployed/fired in the scenario.

  • referencePoints: (list[ReferencePoint]) list of reference points that are currently in the scenario.

  • missions: (list[PatrolMission | StrikeMission]) list of missions that are in the scenario.

METHODS

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

  • TBD

Last updated