CarDamageData class
Constructors
-
CarDamageData({required List<
double> m_tyresWear, required List<int> m_tyresDamage, required List<int> m_brakesDamage, required int m_frontLeftWingDamage, required int m_frontRightWingDamage, required int m_rearWingDamage, required int m_floorDamage, required int m_diffuserDamage, required int m_sidepodDamage, required int m_drsFault, required int m_gearBoxDamage, required int m_engineDamage, required int m_engineMGUHWear, required int m_engineESWear, required int m_engineCEWear, required int m_engineICEWear, required int m_engineMGUKWear, required int m_engineTCWear, required int m_engineBlown, required int m_engineSeized}) -
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
m_brakesDamage
→ List<
int> -
Brakes damage (percentage) CarWheel
final
- m_diffuserDamage → int
-
Diffuser damage (percentage)
final
- m_drsFault → int
-
Indicator for DRS fault, 0 = OK, 1 = fault
final
- m_engineBlown → int
-
Engine blown, 0 = OK, 1 = fault
final
- m_engineCEWear → int
-
Engine wear CE (percentage)
final
- m_engineDamage → int
-
Engine damage (percentage)
final
- m_engineESWear → int
-
Engine wear ES (percentage)
final
- m_engineICEWear → int
-
Engine wear ICE (percentage)
final
- m_engineMGUHWear → int
-
Engine wear MGU-H (percentage)
final
- m_engineMGUKWear → int
-
Engine wear MGU-K (percentage)
final
- m_engineSeized → int
-
Engine seized, 0 = OK, 1 = fault
final
- m_engineTCWear → int
-
Engine wear TC (percentage)
final
- m_floorDamage → int
-
Floor damage (percentage)
final
- m_frontLeftWingDamage → int
-
Front left wing damage (percentage)
final
- m_frontRightWingDamage → int
-
Front right wing damage (percentage)
final
- m_gearBoxDamage → int
-
Gear box damage (percentage)
final
- m_rearWingDamage → int
-
Rear wing damage (percentage)
final
- m_sidepodDamage → int
-
Sidepod damage (percentage)
final
-
m_tyresDamage
→ List<
int> -
Tyre damage (percentage) CarWheel
final
-
m_tyresWear
→ List<
double> -
Tyre wear (percentage) CarWheel
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited