Refactoring and started working on viewing the highscore.
Changed from using if-statements to switch when using gameState.

The game now starts at the highscore screen.

The screen now switches from highscore->running->gameOver->highscore.
1 parent 061b2cf commit 88f367f543b02c21f95dffea8eef2ef7950b649e
Jonathan Ström authored on 5 Sep 2017
Showing 2 changed files
View
app/src/main/java/jonathan/balljumper/GameSurfaceView.java
View
app/src/main/java/jonathan/balljumper/classes/HighscoreHandler.java