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 mouse from current location to new location by
x using the given
motion (see: Motion on the horizontal axis and by y on
the vertical axis. |
void |
moveTo(PointQuery pointQuery,
Motion motion)
Moves mouse to
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)
MoveRobot
PointQuery.query()
using the specified motion
(see: Motion
) and clicks whatever is under it.