Motorized

interface Motorized

Trait interface for vehicles that may have electric and/or combustion engines.

Both engines should be set for a hybrid car. No engine set is also fine if consumption is not important for a calculation, such as when requesting a range based on time or distance budgets.

Important: This is a Public Preview API. It may be changed or removed at any time.

Properties

Link copied to clipboard
abstract val combustionEngine: CombustionEngine?
Link copied to clipboard
abstract val electricEngine: ElectricEngine?
Link copied to clipboard
abstract val isCommercial: Boolean

Inheritors

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard