Skip to main content

Abstract Class: WT21DisplayUnitFsInstrument

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

Base WT21 FsInstrument

Implements

  • FsInstrument

Constructors

Constructor

protected new WT21DisplayUnitFsInstrument(instrument, displayUnitType, displayUnitIndex): WT21DisplayUnitFsInstrument

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

Parameters

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

Returns

WT21DisplayUnitFsInstrument

Inherit Doc

Properties

displayUnitConfig

displayUnitConfig: DisplayUnitConfigInterface = DisplayUnitConfig.DEFAULT

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


displayUnitIndex

readonly displayUnitIndex: WT21DisplayUnitIndex

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

The WT21 display unit index of this instrument


displayUnitType

readonly displayUnitType: WT21DisplayUnitType

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

The WT21 display unit type of this instrument


instrument

readonly instrument: BaseInstrument

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

Implementation of

FsInstrument.instrument

Methods

onFlightStart()

onFlightStart(): void

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

Returns

void

Inherit Doc

Implementation of

FsInstrument.onFlightStart


onGameStateChanged()

onGameStateChanged(oldState, newState): void

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

Parameters

ParameterType
oldStateGameState
newStateGameState

Returns

void

Inherit Doc

Implementation of

FsInstrument.onGameStateChanged


onInteractionEvent()

onInteractionEvent(_args): void

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

Parameters

ParameterType
_argsstring[]

Returns

void

Inherit Doc

Implementation of

FsInstrument.onInteractionEvent


onSoundEnd()

onSoundEnd(soundEventId): void

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

Parameters

ParameterType
soundEventIdName_Z

Returns

void

Inherit Doc

Implementation of

FsInstrument.onSoundEnd


Update()

Update(): void

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

Returns

void

Inherit Doc

Implementation of

FsInstrument.Update