public void PurchaseGears(int amount)
 {
     gears += amount;
     prompt.SetPrompt("Gears Purchased!", $"You Purchased {amount} gears.");
     ui.UpdateGearText();
     CloudSaving.instance.SaveGame();
 }
示例#2
0
    /** Game State Adjustments **/

    public void StopMovement()
    {
        // Stop all movement as round has ended
        currentSpeedX  = 0;
        currentSpeedUp = 0;

        startGame = false;
        outOfFuel = false;

        // Update the gears you have
        ui.UpdateGearText();
    }