Advertisement
Guest User

Untitled

a guest
Jul 22nd, 2017
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.31 KB | None | 0 0
  1. public class YourGame extends ApplicationAdapter {
  2. public void create() {
  3. Gdx.input.setInputProcessor(new InputProcessor() {
  4. @Override
  5. public boolean touchUp(int screenX, int screenY, int pointer, int button) {
  6. // Handle touch up here
  7. return false;
  8. }
  9.  
  10. @Override
  11. public boolean touchDragged(int screenX, int screenY, int pointer) {
  12. // Handle dragging here
  13. return false;
  14. }
  15.  
  16. @Override
  17. public boolean touchDown(int screenX, int screenY, int pointer, int button) {
  18. // Handle touch down here
  19. return false;
  20. }
  21.  
  22. @Override
  23. public boolean scrolled(int amount) {
  24. return false;
  25. }
  26.  
  27. @Override
  28. public boolean mouseMoved(int screenX, int screenY) {
  29. return false;
  30. }
  31.  
  32. @Override
  33. public boolean keyUp(int keycode) {
  34. return false;
  35. }
  36.  
  37. @Override
  38. public boolean keyTyped(char character) {
  39. return false;
  40. }
  41.  
  42. @Override
  43. public boolean keyDown(int keycode) {
  44. return false;
  45. }
  46. });
  47. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement