Package playn.scene

Class Touch.Listener

java.lang.Object
react.Slot<Object>
playn.scene.Touch.Listener
All Implemented Interfaces:
Reactor.RListener, SignalView.Listener<Object>, ValueView.Listener<Object>
Enclosing class:
Touch

public abstract static class Touch.Listener extends Slot<Object>
A listener for touch events with layer info.
  • Constructor Details

    • Listener

      public Listener()
  • Method Details

    • onStart

      public void onStart(Touch.Interaction iact)
      Notifies listener of a touch start event.
    • onMove

      public void onMove(Touch.Interaction iact)
      Notifies listener of a touch move event.
    • onEnd

      public void onEnd(Touch.Interaction iact)
      Notifies listener of a touch end event.
    • onCancel

      public void onCancel(Touch.Interaction iact)
      Notifies listener of a touch cancel event.
    • onEmit

      public final void onEmit(Object event)