Package playn.core

Class Mouse.MotionEvent

All Implemented Interfaces:
XY
Enclosing class:
Mouse

public static class Mouse.MotionEvent extends Mouse.Event
An event dispatched when the mouse is moved.
  • Field Details

    • dx

      public final float dx
      The amount by which the mouse moved on the x axis.
    • dy

      public final float dy
      The 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)