private void moveTo(Point point) {
    Point nextLocation = getLocation();

    if (point.x > nextLocation.x) {
      nextLocation.x++;
    }
    if (point.x < nextLocation.x) {
      nextLocation.x--;
    }
    if (point.y > nextLocation.y) {
      nextLocation.y++;
    }
    if (point.y < nextLocation.y) {
      nextLocation.y--;
    }
    setLocation(nextLocation.x, nextLocation.y);
  }