Exemple #1
0
    void Thrust()
    {
        if (tank.HasFuelLeft())
        {
            tank.UseFuel();

            currentSpeed += thrustAcceleration;

            fire.isThrusting = true;
        }
    }