Class OnMouseMoveEvent

java.lang.Object
com.avrix.events.Event
com.avrix.events.OnMouseMoveEvent

public abstract class OnMouseMoveEvent extends Event
Triggered when the mouse is moved.
  • Constructor Details

    • OnMouseMoveEvent

      public OnMouseMoveEvent()
  • Method Details

    • getEventName

      public String getEventName()
      Getting the event name
      Specified by:
      getEventName in class Event
      Returns:
      name of the event being implemented
    • handleEvent

      public abstract void handleEvent(Integer x, Integer y, Integer dx, Integer dy)
      Called Event Handling Method
      Parameters:
      x - The x coordinate of the mouse position.
      y - The y coordinate of the mouse position.
      dx - TODO: Mouse position deltaX?
      dy - TODO: Mouse position deltaY?