Package dev.twilite.game.mouse
Class Mouse
java.lang.Object
dev.twilite.game.mouse.Mouse
Generates mouse movement samples before synthetic menu clicks.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidbeforeClick(dev.twilite.game.internal.memory.RSClient client) Flushes pending movement before sending a click packet.static voidDisables generated mouse movement samples.static voidmoveTo(int x, int y, boolean forceFlush) Moves the synthetic mouse to the target point.static voidRestores the default balanced configured generator and clears any custom override.static voidsetGenerator(MouseMovementGenerator generator) Sets the configured generator used for generated mouse movement.
-
Constructor Details
-
Mouse
public Mouse()
-
-
Method Details
-
setGenerator
Sets the configured generator used for generated mouse movement. -
disableGenerator
public static void disableGenerator()Disables generated mouse movement samples. -
resetGenerator
public static void resetGenerator()Restores the default balanced configured generator and clears any custom override. -
moveTo
public static void moveTo(int x, int y, boolean forceFlush) Moves the synthetic mouse to the target point. -
beforeClick
public static void beforeClick(dev.twilite.game.internal.memory.RSClient client) Flushes pending movement before sending a click packet.
-