Interface IMouse.MouseClickedListener

All Superinterfaces:
java.util.EventListener
Enclosing interface:
IMouse
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface
public static interface IMouse.MouseClickedListener
extends java.util.EventListener
This listener interface receives clicked events for the mouse.
See Also:
IMouse.onClicked(MouseClickedListener)
  • Method Summary

    Modifier and TypeMethodDescription
    voidmouseClicked​(java.awt.event.MouseEvent event)
    Invoked when the mouse button has been clicked (pressed and released) on the game window.
  • Method Details

    • mouseClicked

      void mouseClicked​(java.awt.event.MouseEvent event)
      Invoked when the mouse button has been clicked (pressed and released) on the game window.
      Parameters:
      event - The mouse event.