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

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

        displayText.SetGameOverText(InGameConstantStrings.GAME_OVER);
    }