Exemplo n.º 1
0
        public static void DecreaseBy(int amount)
        {
            currentAmountOfFur -= amount;
            if (currentAmountOfFur < 0)
            {
                int dmg = Math.Abs(currentAmountOfFur);
                PartyActions.DamageAllPlayers(dmg);

                currentAmountOfFur = 0;
            }

            AmountOFFurChanged?.Invoke(currentAmountOfFur, new EventArgs());
        }
Exemplo n.º 2
0
        public static void DiscardAll()
        {
            currentAmountOfFur = 0;

            AmountOFFurChanged?.Invoke(currentAmountOfFur, new EventArgs());
        }
Exemplo n.º 3
0
        public static void IncreaseBy(int amount)
        {
            currentAmountOfFur += amount;

            AmountOFFurChanged?.Invoke(currentAmountOfFur, new EventArgs());
        }