Interface: FsInstrument
An interface to be implemented by instrument classes.
Properties
instrument
• Readonly
instrument: BaseInstrument
A reference to the BaseInstrument loaded by the sim
Defined in
src/sdk/FsInstrument.ts:8
Methods
Update
▸ Update(): void
Returns
void
Defined in
src/sdk/FsInstrument.ts:9
onFlightStart
▸ onFlightStart(): void
Returns
void
Defined in
src/sdk/FsInstrument.ts:11
onGameStateChanged
▸ onGameStateChanged(oldState
, newState
): void
Parameters
Name | Type |
---|---|
oldState | GameState |
newState | GameState |
Returns
void
Defined in
src/sdk/FsInstrument.ts:12
onInteractionEvent
▸ onInteractionEvent(_args
): void
Parameters
Name | Type |
---|---|
_args | string [] |
Returns
void
Defined in
src/sdk/FsInstrument.ts:10
onSoundEnd
▸ onSoundEnd(soundEventId
): void
Parameters
Name | Type |
---|---|
soundEventId | Name_Z |
Returns
void
Defined in
src/sdk/FsInstrument.ts:13