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
Modifier and TypeClassDescriptionstatic class
Handles the dispatching of touch events to layers.static class
Used to dispatch touch interactions to layers.static class
A listener for touch events with layer info.Nested classes/interfaces inherited from class playn.core.Touch
Touch.Event
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
Touch
public Touch()
-