Exemple #1
0
 /**
  * This method is called if the user loses on their current level
  * it toggles the ui screen to the lose screen
  * It states the total score that the user achieved on their run and outputs it
  * it states what level that they reached
  *
  * @param
  */
 public void GameOver()
 {
     lcdController.StopTimer();
     uiManager.SwitchLose();
     endScoreText.text       = "Total Score: " + score.ToString();
     endLevelNumberText.text = "Level " + (levelNumber).ToString() + " Failed.";
 }