Advertisement
Guest User

Untitled

a guest
Jul 7th, 2015
226
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. protected void actionOnTouch(float x, float y) {
  2. //Increase/decrease the speed of the ball making the ball move towards the touch
  3. //mBallSpeedX = (x - mBallX)*2;
  4. //mBallSpeedY = (y - mBallY)*2;
  5.  
  6. mBallX = x;
  7. mBallY = y;
  8. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement