Interface ScreenMouseEvents.AfterMouseScroll
- 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.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanafterMouseScroll(Screen screen, double mouseX, double mouseY, double horizontalAmount, double verticalAmount, boolean consumed) Called after a mouse has scrolled on screen.
-
Method Details
-
afterMouseScroll
boolean afterMouseScroll(Screen screen, double mouseX, double mouseY, double horizontalAmount, double verticalAmount, boolean consumed) Called after a mouse has scrolled on screen.- Parameters:
screen- the screenmouseX- the x position of the mousemouseY- the y position of the mousehorizontalAmount- the horizontal scroll amountverticalAmount- the vertical scroll amountconsumed- whether the mouse scroll was already consumed
-