Class: FuelTotalizer
An instrument that tracks fuel state for use by the G3000.
Implements
Instrument
Constructors
constructor
• new FuelTotalizer(bus
): FuelTotalizer
Parameters
Name | Type |
---|---|
bus | EventBus |
Returns
Defined in
src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/Fuel/FuelTotalizer.ts:48
Methods
init
▸ init(): void
Initialize the instrument.
Returns
void
Implementation of
Instrument.init
Defined in
src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/Fuel/FuelTotalizer.ts:58
onUpdate
▸ onUpdate(): void
Perform events for the update loop.
Returns
void
Implementation of
Instrument.onUpdate
Defined in
src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/Fuel/FuelTotalizer.ts:61