Public Member Functions | |
void | gameOver (GameOverEvent envent) |
void game.Score.GameOverEventListener.gameOver | ( | GameOverEvent | envent | ) |
envent |
Implements tetrisEvent.GameOverEvent.GameOverListener.
References game.Score.addToHighScore(), game.Score.getScore(), game.Score.SaveHighScore(), game.Score.score, and game.Score.updateScore().
00086 { 00087 addToHighScore(getScore()); 00088 SaveHighScore(); 00089 updateScore(); 00090 score = 0; 00091 }