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