@Override
    protected int getDistanceToTarget(Rectangle rectangle, Point targetPoint) {
      return rectangle.x - targetPoint.x;
    }
@Override
    protected int getDistanceToTarget(Rectangle rectangle, Point targetPoint)