VehicleSetup componentbased.

This commit is contained in:
ViktorLjung
2014-04-22 17:14:29 +02:00
parent d2f3adb07e
commit 4481c95681
8 changed files with 209 additions and 136 deletions
+9 -1
View File
@@ -8,7 +8,15 @@ namespace Components
struct Vehicle : Component
{
Vehicle()
: MaxTorque(500.0f), MinRPM(1000.0f), OptimalRPM(5500.0f), MaxRPM(7500.0f), MaxSteeringAngle(35), TopSpeed(50.0f) { }
float MaxTorque;
float MinRPM;
float OptimalRPM;
float MaxRPM;
// Degrees
float MaxSteeringAngle;
float TopSpeed;
};
}