code: void robotMove(int nx, int ny)
      {
          oldX = x;
          oldY = y;
          x = nx;
          y = ny;
          wx = nx;
          wy = ny;
          mx = x - oldX;
          my = y - oldY;
          moved = true;
      }
docs: Move mouse with robot.
  
  @param nx The new X.
  @param ny The new Y.