Advertisement
Guest User

Untitled

a guest
Sep 26th, 2016
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. @Override
  2. public boolean touchDown(InputEvent event, float x, float y, int pointer, int button) {
  3. downPressed = true;
  4. return true;
  5. //return super.touchDown(event, x, y, pointer, button);
  6. }
  7.  
  8. @Override
  9. public void touchUp(InputEvent event, float x, float y, int pointer, int button) {
  10. downPressed = false;
  11. //super.touchUp(event, x, y, pointer, button);
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement