Ejemplo n.º 1
0
        //----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
        //                                                                                                                        GoBackToStartMenu()
        //----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
        void GoBackToStartMenu()
        {
            DestroyGameOver();

            MyGame mygame = game as MyGame;

            mygame.ResetWholeGame();
            mygame.CreateMenu();
        }
Ejemplo n.º 2
0
        //----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
        //                                                                                                                        CreateCreditsMenu()
        //----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
        void CreateCreditsMenu()
        {
            DestroyVictoryScreen();

            MyGame mygame = game as MyGame;

            mygame.ResetWholeGame();
            mygame.CreateCreditsMenu();
        }
Ejemplo n.º 3
0
        //----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
        //                                                                                                                        GoBackToStartMenu()
        //----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
        void GoBackToStartMenu()
        {
            DestroyVictoryScreen();

            MyGame mygame = game as MyGame;

            mygame.ResetWholeGame();
            mygame.CreateMenu();
        }
Ejemplo n.º 4
0
        //----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
        //                                                                                                                        RestartLevel()
        //----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
        void RestartLevel()
        {
            DestroyGameOver();

            MyGame mygame = game as MyGame;

            mygame.ResetWholeGame();
            mygame.CreateLevel1();
            mygame.startMusic();

            Globals.bossIsDead = false;
        }
Ejemplo n.º 5
0
        //----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
        //                                                                                                                        RestartGame()
        //----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
        void RestartGame()
        {
            DestroyVictoryScreen();

            MyGame mygame = game as MyGame;

            mygame.ResetWholeGame();
            mygame.CreateLevel1();
            mygame.startMusic();

            Globals.bossIsDead = false;
        }