Exemple #1
0
 public void LoadMainMenu()
 {
     Debugging.DisplayDebugMessage("Loading main menu.");
     userInterface.EnableGameOverMenu(false);
     SceneTransitionManager.LoadInitialisationScene(() =>
     {
         userInterface.EnableStartMenu();
         SetActiveCamera();
     });
 }
 public void EndGame()
 {
     GameTime.StopTimer();
     HighScores.SetHighScore(ScoreTracker.Score);
     UserInterfaceManager.EnableGameOverMenu();
 }