ElectricEngine

constructor(consumption: ElectricVehicleConsumption? = null, efficiency: ElectricVehicleEfficiency? = null, chargeLevel: ChargeLevel? = null, chargingParameters: ChargingParameters? = 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.