Package net.storm.api.interact.mouse
Class MouseMovementStrategy.MousePath
java.lang.Object
net.storm.api.interact.mouse.MouseMovementStrategy.MousePath
- Enclosing interface:
MouseMovementStrategy
Represents a mouse movement path with configurable execution parameters.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns true if this path requires only a single tick (instant movement).
-
Constructor Details
-
MousePath
Creates a mouse path with one point per tick.- Parameters:
points- The sequence of points to move through
-
MousePath
Creates a mouse path with configurable points per tick.- Parameters:
points- The sequence of points to move throughpointsPerTick- Number of points to execute per client tick (for faster movement)
-
-
Method Details
-
isInstant
public boolean isInstant()Returns true if this path requires only a single tick (instant movement).
-