Exemple #1
0
        private void btnAttack_Click(object sender, EventArgs e)
        {
            //Call attack function
            string combatResults = MainGame.BattleEnemy("attack");

            //populate the textbox with the results.
            popCombatResults(combatResults);
        }