Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- protected void actionOnTouch(float x, float y) {
- //Increase/decrease the speed of the ball making the ball move towards the touch
- //mBallSpeedX = (x - mBallX)*2;
- //mBallSpeedY = (y - mBallY)*2;
- mBallX = x;
- mBallY = y;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement