TruckProfile constructor
Truck profile constructor with predefined FT_Diesel as fuel type.
Parameters
- IN mass Mass in kg.
- IN height Height in cm.
- IN length Length in cm.
- IN width Width in cm.
- IN axleLoad Axle load in kg.
- IN maxSpeed Max speed in m/s.
- IN fuel Fuel type.
Implementation
TruckProfile({
this.height = 0,
this.length = 0,
this.width = 0,
this.axleLoad = 0,
super.maxSpeed = 0,
super.mass = 0,
super.fuel = FuelType.diesel,
});