Ejemplo n.º 1
0
        private void btnLoadGame_Click(object sender, EventArgs e)
        {
            PlayGame gp = new PlayGame(0, 0, 0, 0, 0, true, 0);

            gp.setCaller(this);
            gp.Show();
            this.Hide();
        }
Ejemplo n.º 2
0
        private void startGame(int min_width, int max_width, int min_height, int max_height, int num_enemies, int gold)
        {
            lblErrorMessage.Text = "";

            PlayGame gp = new PlayGame(min_width, max_width, min_height, max_height, num_enemies, false, gold);

            gp.setCaller(this);
            gp.Show();
            this.Hide();
        }