Package playn.scene
Class 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 Summary
Constructors Constructor Description Listener() -
Method Summary
Modifier and Type Method Description voidonCancel(Touch.Interaction iact)Notifies listener of a touch cancel event.voidonEmit(Object event)voidonEnd(Touch.Interaction iact)Notifies listener of a touch end event.voidonMove(Touch.Interaction iact)Notifies listener of a touch move event.voidonStart(Touch.Interaction iact)Notifies listener of a touch start event.
-
Constructor Details
-
Listener
public Listener()
-
-
Method Details
-
onStart
Notifies listener of a touch start event. -
onMove
Notifies listener of a touch move event. -
onEnd
Notifies listener of a touch end event. -
onCancel
Notifies listener of a touch cancel event. -
onEmit
-