src/main/java/tsz/game/controller/GameOverController.java
/**
	 * Write the actual score and the highest score to the window.
	 */
Write the actual score and the highest score to the window.
Write the actual score and the highest score to the window .
public void writeTheScoresOnTheScreen() {
		GameOverService gameService = new GameOverService();
		GameDataDAO dao = new GameDataDAO();
		playerScore.setText("Your score: " + this.main.getPlayer().getScore());
		maxScore.setText("The highest score: " + gameService.getHighestScore(dao.getAllGameData()));
	}
public void writeTheScoresOnTheScreen ( ) { GameOverService gameService = new GameOverService ( ) ; GameDataDAO dao = new GameDataDAO ( ) ; playerScore . setText ( "Your score: " + this . main . getPlayer ( ) . getScore ( ) ) ; maxScore . setText ( "The highest score: " + gameService . getHighestScore ( dao . getAllGameData ( ) ) ) ; }
Write the actual score and the highest score to the window.
Write the actual score and the highest score to the window .