Vehicle
Specifies the vehicle (or lack of one).
Parameters
type
The type of the vehicle.
Inheritors
Types
Link copied to clipboard
@RestrictToExtendedFlavor(value = [ExternalScope.LIBRARY_GROUP] )
A vehicle of type bus.
Link copied to clipboard
class Car(val maxSpeed: Speed? = null, val isCommercial: Boolean = false, val electricEngine: ElectricEngine? = null, val combustionEngine: CombustionEngine? = null, val dimensions: VehicleDimensions? = null, val modelId: String? = null) : Vehicle, Motorized
A vehicle of type car.
Link copied to clipboard
@RestrictToExtendedFlavor(value = [ExternalScope.LIBRARY_GROUP] )
A vehicle of type motorcycle.
Link copied to clipboard
@RestrictToExtendedFlavor(value = [ExternalScope.LIBRARY_GROUP] )
A pedestrian.
Link copied to clipboard
@RestrictToExtendedFlavor(value = [ExternalScope.LIBRARY_GROUP] )
A vehicle of type taxi.
Link copied to clipboard
@RestrictToExtendedFlavor(value = [ExternalScope.LIBRARY_GROUP] )
A vehicle of type truck.
Link copied to clipboard
@RestrictToExtendedFlavor(value = [ExternalScope.LIBRARY_GROUP] )
A vehicle of type van.