Truck
data class Truck(val transmission: Transmission, val brakes: Brakes, val lights: Lights, val liquids: Liquids, val engine: Engine, val differential: Differential, val speed: Long, val cruiseControl: CruiseControl, val cabin: Cabin<Float>, val chassis: Chassis, val odometer: Float, val isElectricEnabled: Boolean, val isWipersEnabled: Boolean, val brand: GenericResource, val model: GenericResource, val licensePlate: LicensePlate, val totalDamage: Float, val position: Vector<Double>, val orientation: OrientationVector<Double>, val acceleration: Acceleration<Float>, val head: Head<Float>, val hook: Hook<Float>, val liftAxle: LiftAxle, val wheels: List<TruckWheel>)
Class that hold truck data
Author
Felipe Gonzalez
Constructors
Link copied to clipboard
constructor(transmission: Transmission, brakes: Brakes, lights: Lights, liquids: Liquids, engine: Engine, differential: Differential, speed: Long, cruiseControl: CruiseControl, cabin: Cabin<Float>, chassis: Chassis, odometer: Float, isElectricEnabled: Boolean, isWipersEnabled: Boolean, brand: GenericResource, model: GenericResource, licensePlate: LicensePlate, totalDamage: Float, position: Vector<Double>, orientation: OrientationVector<Double>, acceleration: Acceleration<Float>, head: Head<Float>, hook: Hook<Float>, liftAxle: LiftAxle, wheels: List<TruckWheel>)