Interface IMouse.MousePressedListener

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.MousePressedListener
extends java.util.EventListener
This listener interface receives pressed events for the mouse.
See Also:
IMouse.onPressed(MousePressedListener)
  • Method Summary

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

    • mousePressed

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