Skip to main content

Class: FuelComputer

Defined in: workingtitle-instruments-g1000/html_ui/Shared/FuelComputer.ts:193

An instrument that tracks fuel state for use by the G1000 systems page.

Constructors​

Constructor​

new FuelComputer(bus): FuelComputer

Defined in: workingtitle-instruments-g1000/html_ui/Shared/FuelComputer.ts:206

Create a fuel computer.

Parameters​

ParameterTypeDescription
busEventBusAn event bus

Returns​

FuelComputer

Methods​

init()​

init(): void

Defined in: workingtitle-instruments-g1000/html_ui/Shared/FuelComputer.ts:215

Intialize the instrument.

Returns​

void


onUpdate()​

onUpdate(): void

Defined in: workingtitle-instruments-g1000/html_ui/Shared/FuelComputer.ts:231

Perform events for the update loop.

Returns​

void