Skip to main content

Class: XPDRInstrument

Defined in: src/sdk/instruments/XPDR.ts:49

A transponder.

Constructors

Constructor

new XPDRInstrument(bus, transponderCount): XPDRInstrument

Defined in: src/sdk/instruments/XPDR.ts:61

Create an XPDRInstrument.

Parameters

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

Returns

XPDRInstrument

Methods

init()

init(): void

Defined in: src/sdk/instruments/XPDR.ts:68

Initialize the instrument.

Returns

void


onUpdate()

onUpdate(): void

Defined in: src/sdk/instruments/XPDR.ts:86

Perform events for the update loop.

Returns

void