public static void MinusMoney(int m_money) { money -= m_money; if (money < 0) { money = 0; } PreferencesSaver.SetMoney(money); }
public static void PlusMoney(int m_money) { money += m_money; PreferencesSaver.SetMoney(money); }
public void SaveMoney() { PreferencesSaver.SetMoney(money); }