Skip to main content

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​

ParameterTypeDescription
instrumentBaseInstrumentThe 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​

readonly displayUnitIndex: WT21DisplayUnitIndex

Defined in: workingtitle-instruments-wt21/shared/WT21DisplayUnitFsInstrument.ts:34

The WT21 display unit index of this instrument

Inherited from​

WT21DisplayUnitFsInstrument.displayUnitIndex


displayUnitType​

readonly displayUnitType: WT21DisplayUnitType

Defined in: workingtitle-instruments-wt21/shared/WT21DisplayUnitFsInstrument.ts:31

The WT21 display unit type of this instrument

Inherited from​

WT21DisplayUnitFsInstrument.displayUnitType


instrument​

readonly instrument: 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​

ParameterType
oldStateGameState
newStateGameState

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​

ParameterType
_argsstring[]

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​

ParameterType
soundEventIdName_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