Touch.h 369 B

12345678910111213141516171819202122232425262728293031323334
  1. #ifndef TOUCH_H_
  2. #define TOUCH_H_
  3. namespace gameplay
  4. {
  5. /**
  6. * Touch event
  7. */
  8. class Touch
  9. {
  10. public:
  11. /**
  12. * The touch event type.
  13. */
  14. enum TouchEvent
  15. {
  16. TOUCH_PRESS,
  17. TOUCH_RELEASE,
  18. TOUCH_MOVE
  19. };
  20. private:
  21. /**
  22. * Constructor. Used internally.
  23. */
  24. Touch();
  25. };
  26. }
  27. #endif