Interface IMouse.MousePressedListener

All Superinterfaces:
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 EventListener
This listener interface receives pressed events for the mouse.
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Invoked when a mouse button has been pressed on the game window.
  • Method Details

    • mousePressed

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