Skip to main content

Class: XPDRInstrument

A transponder.

Constructors

constructor

new XPDRInstrument(bus, transponderCount?): XPDRInstrument

Create an XPDRInstrument.

Parameters

NameTypeDefault valueDescription
busEventBusundefinedThe event bus to publish to.
transponderCountnumber1The number of transponders supported by this instrument. Defaults to 1.

Returns

XPDRInstrument

Defined in

src/sdk/instruments/XPDR.ts:61

Methods

init

init(): void

Initialize the instrument.

Returns

void

Defined in

src/sdk/instruments/XPDR.ts:68


onUpdate

onUpdate(): void

Perform events for the update loop.

Returns

void

Defined in

src/sdk/instruments/XPDR.ts:86