Package playn.scene
Class Touch.Listener
- All Implemented Interfaces:
Reactor.RListener,SignalView.Listener<Object>,ValueView.Listener<Object>
- Enclosing class:
Touch
A listener for touch events with layer info.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonCancel(Touch.Interaction iact) Notifies listener of a touch cancel event.final voidvoidonEnd(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
-