Interface ScreenMouseEvents.AllowMouseRelease
- Enclosing class:
ScreenMouseEvents
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@Environment(CLIENT)
@FunctionalInterface
public static interface ScreenMouseEvents.AllowMouseRelease
-
Method Summary
Modifier and TypeMethodDescriptionboolean
allowMouseRelease
(Screen screen, double mouseX, double mouseY, int button) Checks if the mouse click should be allowed to release in a screen.
-
Method Details
-
allowMouseRelease
Checks if the mouse click should be allowed to release in a screen.- Parameters:
mouseX
- the x position of the mousemouseY
- the y position of the mousebutton
- the button number, which can be identified by the constants inGLFW
.- See Also:
-