Package playn.scene
Class Touch
java.lang.Object
playn.core.Touch
playn.scene.Touch
public class Touch extends 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 Classes Modifier and Type Class Description static classTouch.DispatcherHandles the dispatching of touch events to layers.static classTouch.InteractionUsed to dispatch touch interactions to layers.static classTouch.ListenerA listener for touch events with layer info.Nested classes/interfaces inherited from class playn.core.Touch
Touch.Event -
Constructor Summary
Constructors Constructor Description Touch() -
Method Summary
-
Constructor Details
-
Touch
public Touch()
-