MaxSpeedProperty

data class MaxSpeedProperty(val maxSpeed: Speed) : VehicleProperty

Represents maxSpeed property of the Vehicle model.

Used for updating the maximum speed of the vehicle via VehicleProvider.updateVehicleProperties

Parameters

maxSpeed

Maximum speed of the vehicle, typically in kilometers per hour (km/h).

Constructors

Link copied to clipboard
constructor(maxSpeed: Speed)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard