private void button2_Click(object sender, EventArgs e) { Monster mon1 = new Monster(); Villager v2 = new Villager(); v2.Injured(mon1.Attack()); MessageBox.Show("" + v2.GetHP()); }
private void button1_Click(object sender, EventArgs e) { Villager v1 = new Villager(); MessageBox.Show("" + v1.GetHP()); }