Class: WT21_FMC_Instrument
The WT21 FMC Instrument
Implements
FsInstrument
Constructors
constructor
• new WT21_FMC_Instrument(instrument
): WT21_FMC_Instrument
Creates an instance of the WT21_FMC.
Parameters
Name | Type | Description |
---|---|---|
instrument | BaseInstrument | The base instrument. |
Returns
Defined in
workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/WT21_FMC_Instrument.tsx:98
Properties
flightLogger
• Readonly
flightLogger: WT21FlightLogger
Defined in
workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/WT21_FMC_Instrument.tsx:89
fms
• Readonly
fms: WT21Fms
Defined in
workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/WT21_FMC_Instrument.tsx:69
instrument
• Readonly
instrument: BaseInstrument
The base instrument.
Implementation of
FsInstrument.instrument
Defined in
workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/WT21_FMC_Instrument.tsx:98
planner
• Readonly
planner: FlightPlanner
<any
>
Defined in
workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/WT21_FMC_Instrument.tsx:64
Methods
Update
▸ Update(): void
A callback called when the instrument gets a frame update.
Returns
void
Implementation of
FsInstrument.Update
Defined in
workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/WT21_FMC_Instrument.tsx:371
onFlightStart
▸ onFlightStart(): void
Callback called when the flight starts.
Returns
void
Implementation of
FsInstrument.onFlightStart
Defined in
workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/WT21_FMC_Instrument.tsx:402
onGameStateChanged
▸ onGameStateChanged(oldState
, newState
): void
Parameters
Name | Type |
---|---|
oldState | GameState |
newState | GameState |
Returns
void
Inherit Doc
Implementation of
FsInstrument.onGameStateChanged
Defined in
workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/WT21_FMC_Instrument.tsx:332
onInteractionEvent
▸ onInteractionEvent(_args
): void
Parameters
Name | Type |
---|---|
_args | string [] |
Returns
void
Inherit Doc
Implementation of
FsInstrument.onInteractionEvent
Defined in
workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/WT21_FMC_Instrument.tsx:306
onSoundEnd
▸ onSoundEnd(soundEventId
): void
Parameters
Name | Type |
---|---|
soundEventId | Name_Z |
Returns
void
Inherit Doc
Implementation of
FsInstrument.onSoundEnd
Defined in
workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/WT21_FMC_Instrument.tsx:482