Added an onTouchEvent making the ball's X-axis move when touching the screen. Changed values from int to float in Sprite.
|
---|
|
app/src/main/java/jonathan/balljumper/GameSurfaceView.java |
---|
app/src/main/java/jonathan/balljumper/classes/Ball.java |
---|
app/src/main/java/jonathan/balljumper/classes/Panel.java |
---|
app/src/main/java/jonathan/balljumper/classes/Sprite.java |
---|