General Vehicle Traits
data class GeneralVehicleTraits @JvmOverloads constructor(var maximalSpeed: Int = 255, var yearOfManufacture: Int = 2017, var vehicleType: VehicleType = VehicleType.Car, var specializedVehicleAttributes: SpecializedVehicleAttributes = SpecializedVehicleAttributes()) : Parcelable
Constructors
Link copied to clipboard
constructor(maximalSpeed: Int = 255, yearOfManufacture: Int = 2017, vehicleType: VehicleType = VehicleType.Car, specializedVehicleAttributes: SpecializedVehicleAttributes = SpecializedVehicleAttributes())
Properties
Link copied to clipboard
maximal speed in kilometers per hour, 255 means unlimited speed
Link copied to clipboard
parameter representing SpecializedVehicleAttributes
Link copied to clipboard
one of VehicleType enum
Link copied to clipboard
manufacture year <1900-2100>