Class OnMouseDownEvent

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

public abstract class OnMouseDownEvent extends Event
Triggered when the mouse button is down.
  • Constructor Details

    • OnMouseDownEvent

      public OnMouseDownEvent()
  • 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)
      Called Event Handling Method
      Parameters:
      x - The x coordinate where the mouse button was pressed down.
      y - The y coordinate where the mouse button was pressed down.