Exemplo n.º 1
0
    private void UpgradeStat()
    {
        _playerWallet.SpendMoney(_statsToUpgrade.CalculateStatWithoutModifiers(Stat.GoldRequired, _statsToUpgrade.GetStatLevel(statType)));
        _statsToUpgrade.UpgradeStat(statType);

        UpdateView();
    }