Пример #1
0
        private void AddWarriorWins(int wins)
        {
            Warrior warrior = new Warrior();

            warrior.AddWins(wins, hsc);
        }
Пример #2
0
        private void AddWarriorLosses(int losses)
        {
            Warrior warrior = new Warrior();

            warrior.AddLosses(losses, hsc);
        }
Пример #3
0
        private void ResetWarriorScore(HSCounter hsc)
        {
            Warrior warrior = new Warrior();

            DialogResult warriorDialogResult = MessageBox.Show("Are you sure that you want to reset your warrior score to 0?", "Reset Warrior Score", MessageBoxButtons.YesNo);
            if (warriorDialogResult == DialogResult.Yes)
            {
                warrior.ResetButton_Clicked(hsc);
            }
        }