ElectricEngine

fun ElectricEngine(consumption: ElectricVehicleConsumption? = null, efficiency: ElectricVehicleEfficiency? = null, chargeLevel: ChargeLevel? = null)

Parameters

consumption

Specifies the consumption model of the electric vehicle.

efficiency

Specifies the efficiency of the engine.

chargeLevel

Specifies the current and maximum charge of the vehicle.