Esempio n. 1
0
 public virtual void Update(float amount)
 {
     if (Tank.Amount > 0.0f)
     {
         float temp = Tank.PumpFuel(amount);
         temp              = Engine.Turn(temp);
         temp              = GearBox.Turn(temp);
         DistanceTraveled += Wheels.Turn(temp);
     }
 }