Class EventMouse.Scroll

java.lang.Object
org.rusherhack.core.event.type.Event
org.rusherhack.core.event.type.EventCancellable
org.rusherhack.client.api.events.client.input.EventMouse
org.rusherhack.client.api.events.client.input.EventMouse.Scroll
All Implemented Interfaces:
org.rusherhack.core.event.stage.IStageable
Enclosing class:
EventMouse

public static class EventMouse.Scroll extends EventMouse
This event is called when the scroll wheel is used
  • Constructor Details

    • Scroll

      public Scroll(double xOffset, double yOffset)
  • Method Details

    • getScrollDeltaX

      public double getScrollDeltaX()
      Returns:
      Horizontal scroll offset
    • getScrollDeltaY

      public double getScrollDeltaY()
      Returns:
      Vertical scroll offset