private void SetDisplayTexts() { displayText.SetLiveText(InGameConstantStrings.LIVES + lives); displayText.SetScoreText(InGameConstantStrings.SCORE + score); displayText.SetChallengeText(""); displayText.SetNextPhaseText(InGameConstantStrings.NEXTPHASE + phase.toNextPhase); }
public GameOver(InGameDisplayText displayText, GameController gameController) { gameController.RestartFlag = true; gameController.ContinueSpawnWaves = false; displayText.SetChallengeText(""); displayText.SetChallengeAlertText(""); displayText.SetGameOverText(InGameConstantStrings.GAME_OVER); }