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
Parameter | 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
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
Parameter | Type |
---|---|
oldState | GameState |
newState | GameState |
Returns
void
Inherit Doc
Implementation of
FsInstrument.onGameStateChanged
onInteractionEvent()
onInteractionEvent(
_args
):void
Defined in: workingtitle-instruments-wt21/shared/WT21DisplayUnitFsInstrument.ts:95
Parameters
Parameter | Type |
---|---|
_args | string [] |
Returns
void
Inherit Doc
Implementation of
FsInstrument.onInteractionEvent
onSoundEnd()
onSoundEnd(
soundEventId
):void
Defined in: workingtitle-instruments-wt21/shared/WT21DisplayUnitFsInstrument.ts:112
Parameters
Parameter | Type |
---|---|
soundEventId | Name_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