Exemple #1
0
 private void StartButton_Click(object sender, EventArgs e)
 {
     game.startGame();
     RenderScene(game.render);
     StartButton.Visible = false;
     StartButton.Enabled = false;
 }
Exemple #2
0
        private void Form1_Load(object sender, EventArgs e)
        {
            //changeSize();
            game.startGame(cavenum);
            RenderScene(game.render);
            string fileMovement = "tutorialMovement.txt";

            if (!File.Exists(fileMovement))
            {
                disableButtons();
                tutorialButton.Text = "Click on the sides of the hexagon \nto move between rooms. \nIf there is a hazard nearby you will get a \nwarning to the left of the room. \nYou can purchase arrows and secrets and \nshoot arrows using the buttons on the right \nClick on the text to continue";
            }
        }