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.
This listener interface receives pressed events for the mouse.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoidmousePressed(MouseEvent event) Invoked when a mouse button has been pressed on the game window.
-
Method Details
-
mousePressed
Invoked when a mouse button has been pressed on the game window.- Parameters:
event- The mouse event.
-