Skip to main content

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

NameType
oldStateGameState
newStateGameState

Returns

void

Defined in

src/sdk/FsInstrument.ts:12


onInteractionEvent

onInteractionEvent(_args): void

Parameters

NameType
_argsstring[]

Returns

void

Defined in

src/sdk/FsInstrument.ts:10


onSoundEnd

onSoundEnd(soundEventId): void

Parameters

NameType
soundEventIdName_Z

Returns

void

Defined in

src/sdk/FsInstrument.ts:13