Class: FuelTotalizer
An instrument that tracks fuel state for use by the G3X.
Implements
Instrument
Constructors
constructor
• new FuelTotalizer(bus
): FuelTotalizer
Constructor.
Parameters
Name | Type | Description |
---|---|---|
bus | EventBus | The event bus to publish / listen to. |
Returns
Defined in
src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/Fuel/FuelTotalizer.ts:16
Methods
init
▸ init(): void
Initialize the instrument.
Returns
void
Implementation of
Instrument.init
Defined in
src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/Fuel/FuelTotalizer.ts:31
onUpdate
▸ onUpdate(): void
Perform events for the update loop.
Returns
void
Implementation of
Instrument.onUpdate
Defined in
src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/Fuel/FuelTotalizer.ts:36