Class Tapper

java.lang.Object
react.Slot<Object>
playn.scene.Pointer.Listener
tripleplay.util.Tapper
All Implemented Interfaces:
react.Reactor.RListener, react.SignalView.Listener<Object>, react.ValueView.Listener<Object>
Direct Known Subclasses:
DoubleTapper

public class Tapper extends Pointer.Listener
Detects taps on a layer. This is a simple implementation using a threshold distance. If the pointer is dragged less than the threshold, a call to onTap(Event.XY) is generated.