//---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- // GoBackToStartMenu() //---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- void GoBackToStartMenu() { DestroyGameOver(); MyGame mygame = game as MyGame; mygame.ResetWholeGame(); mygame.CreateMenu(); }
//---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- // CreateCreditsMenu() //---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- void CreateCreditsMenu() { DestroyVictoryScreen(); MyGame mygame = game as MyGame; mygame.ResetWholeGame(); mygame.CreateCreditsMenu(); }
//---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- // GoBackToStartMenu() //---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- void GoBackToStartMenu() { DestroyVictoryScreen(); MyGame mygame = game as MyGame; mygame.ResetWholeGame(); mygame.CreateMenu(); }
//---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- // RestartLevel() //---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- void RestartLevel() { DestroyGameOver(); MyGame mygame = game as MyGame; mygame.ResetWholeGame(); mygame.CreateLevel1(); mygame.startMusic(); Globals.bossIsDead = false; }
//---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- // RestartGame() //---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- void RestartGame() { DestroyVictoryScreen(); MyGame mygame = game as MyGame; mygame.ResetWholeGame(); mygame.CreateLevel1(); mygame.startMusic(); Globals.bossIsDead = false; }