Class Mouse.PathGenerator
- java.lang.Object
-
- com.runemate.game.api.hybrid.input.Mouse.PathGenerator
-
- Direct Known Subclasses:
HoppingPathGenerator
,MultiLayerPerceptronPathGenerator
- Enclosing class:
- Mouse
public abstract static class Mouse.PathGenerator extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description PathGenerator()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static boolean
hop(java.awt.Point point)
Sends a MouseEvent to the game that tells it the mouse moved to the given pointabstract boolean
move(Interactable target, double velocityMultiplier)
-
-
-
Method Detail
-
hop
public static boolean hop(java.awt.Point point)
Sends a MouseEvent to the game that tells it the mouse moved to the given point- Returns:
- true if it sent the mouse event, false if the point was null, it failed to send the event or the mouse was already at the specified point
-
move
public abstract boolean move(Interactable target, double velocityMultiplier)
- Parameters:
target
- The object to move intovelocityMultiplier
- A velocity multiplier with a base of 1.00
-
-