CombustionEngine

class CombustionEngine(val consumption: CombustionVehicleConsumption? = null, val efficiency: CombustionVehicleEfficiency? = null, val currentFuel: Volume? = null)

Describes the engine of a combustion vehicle.

Note: The parameters consumption, efficiency and currentFuel are not supported with the Orbis map.

Constructors

Link copied to clipboard
constructor(consumption: CombustionVehicleConsumption? = null, efficiency: CombustionVehicleEfficiency? = null, currentFuel: Volume? = null)

Properties

Link copied to clipboard

The consumption model of the vehicle.

Link copied to clipboard
val currentFuel: Volume? = null

The current amount of fuel.

Link copied to clipboard

The efficiency of the engine.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String