Class: WT21DisplayUnitFsInstrument
Base WT21 FsInstrument
Implements
FsInstrument
Constructors
constructor
• new WT21DisplayUnitFsInstrument(instrument
, displayUnitType
, displayUnitIndex
): WT21DisplayUnitFsInstrument
Parameters
Name | Type | Description |
---|---|---|
instrument | BaseInstrument | - |
displayUnitType | WT21DisplayUnitType | The WT21 display unit type of this instrument |
displayUnitIndex | WT21DisplayUnitIndex | The WT21 display unit index of this instrument |
Returns
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
Name | Type |
---|---|
oldState | GameState |
newState | GameState |
Returns
void
Inherit Doc
Implementation of
FsInstrument.onGameStateChanged
Defined in
workingtitle-instruments-wt21/shared/WT21DisplayUnitFsInstrument.ts:106
onInteractionEvent
▸ onInteractionEvent(_args
): void
Parameters
Name | Type |
---|---|
_args | string [] |
Returns
void
Inherit Doc
Implementation of
FsInstrument.onInteractionEvent
Defined in
workingtitle-instruments-wt21/shared/WT21DisplayUnitFsInstrument.ts:95
onSoundEnd
▸ onSoundEnd(soundEventId
): void
Parameters
Name | Type |
---|---|
soundEventId | Name_Z |
Returns
void
Inherit Doc
Implementation of
FsInstrument.onSoundEnd
Defined in
workingtitle-instruments-wt21/shared/WT21DisplayUnitFsInstrument.ts:112