Exemplo n.º 1
0
 private void SetDisplayTexts()
 {
     displayText.SetLiveText(InGameConstantStrings.LIVES + lives);
     displayText.SetScoreText(InGameConstantStrings.SCORE + score);
     displayText.SetChallengeText("");
     displayText.SetNextPhaseText(InGameConstantStrings.NEXTPHASE + phase.toNextPhase);
 }
Exemplo n.º 2
0
    public GameOver(InGameDisplayText displayText, GameController gameController)
    {
        gameController.RestartFlag        = true;
        gameController.ContinueSpawnWaves = false;

        displayText.SetChallengeText("");
        displayText.SetChallengeAlertText("");

        displayText.SetGameOverText(InGameConstantStrings.GAME_OVER);
    }