Class OnObjectLeftMouseButtonDownEvent

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

public abstract class OnObjectLeftMouseButtonDownEvent extends Event
Triggered when left mouse button clicked on object
  • Constructor Details

    • OnObjectLeftMouseButtonDownEvent

      public OnObjectLeftMouseButtonDownEvent()
  • 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(zombie.iso.IsoObject object, Integer x, Integer y)
      Called Event Handling Method
      Parameters:
      object - The object on which the left mouse button was pressed down.
      x - The x coordinate where the left mouse button was pressed down.
      y - The y coordinate where the left mouse button was pressed down.