GameView has "spaceshipDead" flag. When spaceship is destroyed and has finished the animation, this is set to true. This slows down the scrollspeed to a halt. Once scrollspeed hits zero, onGameFinished() is fired and the game over dialog shows. Stats from the current game are saved and the player is given the option to play again or quit.
Note: this will be disabled during debugging.
GameView has "spaceshipDead" flag. When spaceship is destroyed and has finished the animation, this is set to true. This slows down the scrollspeed to a halt. Once scrollspeed hits zero, onGameFinished() is fired and the game over dialog shows. Stats from the current game are saved and the player is given the option to play again or quit. Note: this will be disabled during debugging.