public class Pointer
extends playn.core.Pointer
Pointer service. So you simply create a scene Pointer instead of a
core Pointer, and it will dispatch both global and layer-local pointer interactions.| Modifier and Type | Class | Description |
|---|---|---|
static class |
Pointer.Dispatcher |
Handles the dispatching of pointer events to layers.
|
static class |
Pointer.Interaction |
Used to dispatch pointer interactions to layers.
|
static class |
Pointer.Listener |
A listener for pointer events with layer info.
|
public Pointer(playn.core.Platform plat,
Layer root,
boolean bubble)
bubble - if true, events are "bubbled" up the layer hierarchy, if false they are
delivered only to the hit layer. See Pointer.Dispatcher for details.Copyright © 2018. All Rights Reserved.