Class MouseMovementStrategy.MousePath

java.lang.Object
net.storm.api.interact.mouse.MouseMovementStrategy.MousePath
Enclosing interface:
MouseMovementStrategy

public static class MouseMovementStrategy.MousePath extends Object
Represents a mouse movement path with configurable execution parameters.
  • Constructor Details

    • MousePath

      public MousePath(List<Point> points)
      Creates a mouse path with one point per tick.
      Parameters:
      points - The sequence of points to move through
    • MousePath

      public MousePath(List<Point> points, int pointsPerTick)
      Creates a mouse path with configurable points per tick.
      Parameters:
      points - The sequence of points to move through
      pointsPerTick - 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).