/src/org/mt4j/input/gestureAction/ICollisionAction.java

http://mt4j.googlecode.com/ · Java · 30 lines · 7 code · 5 blank · 18 comment · 0 complexity · e8d75fd29b43fd14fcf0c50dd36d86c5 MD5 · raw file

  1. package org.mt4j.input.gestureAction;
  2. import org.mt4j.input.inputProcessors.MTGestureEvent;
  3. /**
  4. * The Interface ICollisionAction.
  5. */
  6. public interface ICollisionAction {
  7. /**
  8. * Gesture aborted.
  9. *
  10. * @return true, if successful
  11. */
  12. public boolean gestureAborted();
  13. /**
  14. * Sets the gesture aborted.
  15. *
  16. * @param aborted the new gesture aborted
  17. */
  18. public void setGestureAborted(boolean aborted);
  19. /**
  20. * Gets the last event.
  21. *
  22. * @return the last event
  23. */
  24. public MTGestureEvent getLastEvent();
  25. }