| Constructor and Description |
|---|
MoveRobotImpl(BaseRobot baseRobot,
MouseRobot mouseRobot,
SleepRobot sleepRobot) |
| Modifier and Type | Method and Description |
|---|---|
void |
moveBy(double x,
double y,
Motion motion)
Moves the mouse from the current location to the given (
x, y) location. |
void |
moveTo(PointQuery pointQuery,
Motion motion)
Moves the mouse to the (x,y) position specified by the given
PointQuery.query()
using the specified motion (see: Motion) and clicks whatever is under it. |
public MoveRobotImpl(BaseRobot baseRobot, MouseRobot mouseRobot, SleepRobot sleepRobot)
public void moveTo(PointQuery pointQuery, Motion motion)
MoveRobotPointQuery.query()
using the specified motion (see: Motion) and clicks whatever is under it.