Package playn.core
Class Pointer.Event
java.lang.Object
playn.core.Event
playn.core.Event.Input
playn.core.Event.XY
playn.core.Pointer.Event
- All Implemented Interfaces:
XY
- Enclosing class:
Pointer
Contains information on a pointer event.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
Enumerates the different kinds of pointer event.Nested classes/interfaces inherited from class playn.core.Event
Event.Input, Event.XY
-
Field Summary
FieldsModifier and TypeFieldDescriptionboolean
Whether this event originated from a touch event.final Pointer.Event.Kind
Whether this event represents a start, move, etc.Fields inherited from class playn.core.Event.Input
flags, time
Fields inherited from class playn.core.Event
F_PREVENT_DEFAULT
-
Constructor Summary
ConstructorsConstructorDescriptionEvent
(int flags, double time, float x, float y, Pointer.Event.Kind kind, boolean isTouch) -
Method Summary
Methods inherited from class playn.core.Event.Input
clearFlag, isAltDown, isCtrlDown, isMetaDown, isSet, isShiftDown, modifierFlags, setFlag, toString, updateFlag
-
Field Details
-
kind
Whether this event represents a start, move, etc. -
isTouch
public boolean isTouchWhether this event originated from a touch event.
-
-
Constructor Details
-
Event
-