protected void UpdateVehicles(float timeStep)
 {
     for (int i = 0; i < _vehicles.Count; i++)
     {
         RaycastVehicle vehicle = _vehicles[i];
         vehicle.updateVehicle(timeStep);
     }
 }
Beispiel #2
0
 public void RemoveVehicle(RaycastVehicle vehicle)
 {
     _vehicles.Remove(vehicle);
 }
Beispiel #3
0
 public void AddVehicle(RaycastVehicle vehicle)
 {
     _vehicles.Add(vehicle);
 }
 public void RemoveVehicle(RaycastVehicle vehicle)
 {
     _vehicles.Remove(vehicle);
 }
 public void AddVehicle(RaycastVehicle vehicle)
 {
     _vehicles.Add(vehicle);
 }