Skip to main content

Class: WT21_FMC_Instrument

Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/WT21_FMC_Instrument.tsx:46

The WT21 FMC Instrument

Implements​

  • FsInstrument

Constructors​

Constructor​

new WT21_FMC_Instrument(instrument): WT21_FMC_Instrument

Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/WT21_FMC_Instrument.tsx:99

Creates an instance of the WT21_FMC.

Parameters​

ParameterTypeDescription
instrumentBaseInstrumentThe base instrument.

Returns​

WT21_FMC_Instrument

Properties​

flightLogger​

readonly flightLogger: WT21FlightLogger

Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/WT21_FMC_Instrument.tsx:90


fms​

readonly fms: WT21Fms

Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/WT21_FMC_Instrument.tsx:71


instrument​

readonly instrument: BaseInstrument

Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/WT21_FMC_Instrument.tsx:99

The base instrument.

Implementation of​

FsInstrument.instrument


planner​

readonly planner: FlightPlanner

Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/WT21_FMC_Instrument.tsx:66

Methods​

onFlightStart()​

onFlightStart(): void

Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/WT21_FMC_Instrument.tsx:404

Callback called when the flight starts.

Returns​

void

Implementation of​

FsInstrument.onFlightStart


onGameStateChanged()​

onGameStateChanged(oldState, newState): void

Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/WT21_FMC_Instrument.tsx:336

Parameters​

ParameterType
oldStateGameState
newStateGameState

Returns​

void

Inherit Doc​

Implementation of​

FsInstrument.onGameStateChanged


onInteractionEvent()​

onInteractionEvent(_args): void

Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/WT21_FMC_Instrument.tsx:310

Parameters​

ParameterType
_argsstring[]

Returns​

void

Inherit Doc​

Implementation of​

FsInstrument.onInteractionEvent


onSoundEnd()​

onSoundEnd(soundEventId): void

Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/WT21_FMC_Instrument.tsx:484

Parameters​

ParameterType
soundEventIdName_Z

Returns​

void

Inherit Doc​

Implementation of​

FsInstrument.onSoundEnd


Update()​

Update(): void

Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/WT21_FMC_Instrument.tsx:373

A callback called when the instrument gets a frame update.

Returns​

void

Implementation of​

FsInstrument.Update