Package playn.core
Class Mouse.MotionEvent
java.lang.Object
playn.core.Event
playn.core.Event.Input
playn.core.Event.XY
playn.core.Mouse.Event
playn.core.Mouse.MotionEvent
- All Implemented Interfaces:
XY
- Enclosing class:
Mouse
An event dispatched when the mouse is moved.
-
Nested Class Summary
Nested classes/interfaces inherited from class playn.core.Event
Event.Input, Event.XY
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal float
The amount by which the mouse moved on the x axis.final float
The amount by which the mouse moved on the y axis.Fields inherited from class playn.core.Event.Input
flags, time
Fields inherited from class playn.core.Event
F_PREVENT_DEFAULT
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class playn.core.Event.Input
clearFlag, isAltDown, isCtrlDown, isMetaDown, isSet, isShiftDown, modifierFlags, setFlag, toString, updateFlag
-
Field Details
-
dx
public final float dxThe amount by which the mouse moved on the x axis. -
dy
public final float dyThe amount by which the mouse moved on the y axis.
-
-
Constructor Details
-
MotionEvent
public MotionEvent(int flags, double time, float x, float y, float dx, float dy)
-