private void button1_Click(object sender, EventArgs e) { if (Engine.army1.Count != 0 && Engine.army2.Count != 0) { Engine.grp.Clear(Engine.backColor); Engine.War(); Engine.DrawMap(); } else { MessageBox.Show("Game Over"); } pictureBox1.Image = Engine.bmp; }
private void button1_Click(object sender, EventArgs e) { Engine.initGraf(pictureBox1); Engine.initSesion(); Engine.DrawMap(); }