Class: WT21_PFD_Instrument
The WT21 PFD Instrument
Hierarchy
WT21DisplayUnitFsInstrument
↳
WT21_PFD_Instrument
Constructors
constructor
• new WT21_PFD_Instrument(instrument
): WT21_PFD_Instrument
Creates an instance of the WT21_PFD.
Parameters
Name | Type | Description |
---|---|---|
instrument | BaseInstrument | The base instrument. |
Returns
Overrides
WT21DisplayUnitFsInstrument.constructor
Defined in
workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/PFD/WT21_PFD_Instrument.tsx:95
Properties
displayUnitConfig
• displayUnitConfig: DisplayUnitConfigInterface
= DisplayUnitConfig.DEFAULT
Inherited from
WT21DisplayUnitFsInstrument.displayUnitConfig
Defined in
workingtitle-instruments-wt21/shared/WT21DisplayUnitFsInstrument.ts:24
displayUnitIndex
• Readonly
displayUnitIndex: WT21DisplayUnitIndex
The WT21 display unit index of this instrument
Inherited from
WT21DisplayUnitFsInstrument.displayUnitIndex
Defined in
workingtitle-instruments-wt21/shared/WT21DisplayUnitFsInstrument.ts:34
displayUnitType
• Readonly
displayUnitType: WT21DisplayUnitType
The WT21 display unit type of this instrument
Inherited from
WT21DisplayUnitFsInstrument.displayUnitType
Defined in
workingtitle-instruments-wt21/shared/WT21DisplayUnitFsInstrument.ts:31
instrument
• Readonly
instrument: BaseInstrument
The base instrument.
Inherited from
WT21DisplayUnitFsInstrument.instrument
Defined in
workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/PFD/WT21_PFD_Instrument.tsx:95
Methods
Update
▸ Update(): void
Returns
void
Inherit Doc
Overrides
WT21DisplayUnitFsInstrument.Update
Defined in
workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/PFD/WT21_PFD_Instrument.tsx:430
onFlightStart
▸ onFlightStart(): void
Returns
void
Inherit Doc
Inherited from
WT21DisplayUnitFsInstrument.onFlightStart
Defined in
workingtitle-instruments-wt21/shared/WT21DisplayUnitFsInstrument.ts:100
onGameStateChanged
▸ onGameStateChanged(oldState
, newState
): void
Parameters
Name | Type |
---|---|
oldState | GameState |
newState | GameState |
Returns
void
Inherit Doc
Overrides
WT21DisplayUnitFsInstrument.onGameStateChanged
Defined in
workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/PFD/WT21_PFD_Instrument.tsx:439
onInteractionEvent
▸ onInteractionEvent(_args
): void
Parameters
Name | Type |
---|---|
_args | string [] |
Returns
void
Inherit Doc
Overrides
WT21DisplayUnitFsInstrument.onInteractionEvent
Defined in
workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/PFD/WT21_PFD_Instrument.tsx:413
onSoundEnd
▸ onSoundEnd(soundEventId
): void
Parameters
Name | Type |
---|---|
soundEventId | Name_Z |
Returns
void
Inherit Doc
Overrides
WT21DisplayUnitFsInstrument.onSoundEnd
Defined in
workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/PFD/WT21_PFD_Instrument.tsx:445