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