Added an onTouchEvent making the ball's X-axis move when touching the screen. Changed values from int to float in Sprite.
1 parent 595a2b5 commit 5a8f01578872e79e64ca08005cc92ed2f891112d
Jonathan Ström authored on 28 Jul 2017
Showing 4 changed files
View
app/src/main/java/jonathan/balljumper/GameSurfaceView.java
View
app/src/main/java/jonathan/balljumper/classes/Ball.java
View
app/src/main/java/jonathan/balljumper/classes/Panel.java
View
app/src/main/java/jonathan/balljumper/classes/Sprite.java