Package playn.scene
Class Pointer
java.lang.Object
playn.core.Pointer
playn.scene.Pointer
Integrates the layer system with pointer interactions. This supercedes the
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.-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Handles the dispatching of pointer events to layers.static class
Used to dispatch pointer interactions to layers.static class
A listener for pointer events with layer info.Nested classes/interfaces inherited from class playn.core.Pointer
Pointer.Event
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
Pointer
Creates a pointer event system which dispatches both global pointer events and per-layer pointer events.- Parameters:
bubble
- if true, events are "bubbled" up the layer hierarchy, if false they are delivered only to the hit layer. SeePointer.Dispatcher
for details.
-