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
Nested ClassesModifier and TypeClassDescriptionstatic classHandles the dispatching of pointer events to layers.static classUsed to dispatch pointer interactions to layers.static classA listener for pointer events with layer info.Nested classes/interfaces inherited from class playn.core.Pointer
Pointer.Event -
Field Summary
-
Constructor Summary
Constructors -
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.Dispatcherfor details.
-