public class GameOverException
extends java.lang.Exception
Constructor and Description |
---|
GameOverException(int score)
Constructs a new exception with the final score.
|
Modifier and Type | Method and Description |
---|---|
int |
getScore()
Get the score of the game
|