Package playn.scene
Class Touch
java.lang.Object
playn.core.Touch
playn.scene.Touch
Integrates the layer system with touch interactions. To receive touch events on layers, connect
the touch event dispatcher as a global touch listener like so:
platform.input().touchEvents.connect(new Touch.Dispatcher(...)).-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classHandles the dispatching of touch events to layers.static classUsed to dispatch touch interactions to layers.static classA listener for touch events with layer info.Nested classes/interfaces inherited from class playn.core.Touch
Touch.Event -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Touch
public Touch()
-