Beispiel #1
0
 public void ResetGame()
 {
     endGameManager.Reset();
     SwitchGameState(GameState.Menu);
     currentScore    = 0;
     maxReachedLevel = Level.Level1;
     scoringSystem.UpdateScore(currentScore);
     currentLevel = Level.Level1;
     backgroundFiller.UpdateBackground(currentLevel);
     audioManager.PlayAmbiance(currentLevel, currentLevel);
     audioManager.PlayMusic(currentLevel, currentGameState);
 }