Skip to main content

Class: WT21DisplayUnitFsInstrument

Base WT21 FsInstrument

Implements

  • FsInstrument

Constructors

constructor

new WT21DisplayUnitFsInstrument(instrument, displayUnitType, displayUnitIndex): WT21DisplayUnitFsInstrument

Parameters

NameTypeDescription
instrumentBaseInstrument-
displayUnitTypeWT21DisplayUnitTypeThe WT21 display unit type of this instrument
displayUnitIndexWT21DisplayUnitIndexThe WT21 display unit index of this instrument

Returns

WT21DisplayUnitFsInstrument

Inherit Doc

Defined in

workingtitle-instruments-wt21/shared/WT21DisplayUnitFsInstrument.ts:27

Properties

displayUnitConfig

displayUnitConfig: DisplayUnitConfigInterface = DisplayUnitConfig.DEFAULT

Defined in

workingtitle-instruments-wt21/shared/WT21DisplayUnitFsInstrument.ts:24


displayUnitIndex

Readonly displayUnitIndex: WT21DisplayUnitIndex

The WT21 display unit index of this instrument

Defined in

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


displayUnitType

Readonly displayUnitType: WT21DisplayUnitType

The WT21 display unit type of this instrument

Defined in

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


instrument

Readonly instrument: BaseInstrument

Implementation of

FsInstrument.instrument

Defined in

workingtitle-instruments-wt21/shared/WT21DisplayUnitFsInstrument.ts:28

Methods

Update

Update(): void

Returns

void

Inherit Doc

Implementation of

FsInstrument.Update

Defined in

workingtitle-instruments-wt21/shared/WT21DisplayUnitFsInstrument.ts:89


onFlightStart

onFlightStart(): void

Returns

void

Inherit Doc

Implementation of

FsInstrument.onFlightStart

Defined in

workingtitle-instruments-wt21/shared/WT21DisplayUnitFsInstrument.ts:100


onGameStateChanged

onGameStateChanged(oldState, newState): void

Parameters

NameType
oldStateGameState
newStateGameState

Returns

void

Inherit Doc

Implementation of

FsInstrument.onGameStateChanged

Defined in

workingtitle-instruments-wt21/shared/WT21DisplayUnitFsInstrument.ts:106


onInteractionEvent

onInteractionEvent(_args): void

Parameters

NameType
_argsstring[]

Returns

void

Inherit Doc

Implementation of

FsInstrument.onInteractionEvent

Defined in

workingtitle-instruments-wt21/shared/WT21DisplayUnitFsInstrument.ts:95


onSoundEnd

onSoundEnd(soundEventId): void

Parameters

NameType
soundEventIdName_Z

Returns

void

Inherit Doc

Implementation of

FsInstrument.onSoundEnd

Defined in

workingtitle-instruments-wt21/shared/WT21DisplayUnitFsInstrument.ts:112