code: private boolean checkArrivedY(double extrp, double sy, double dy)
      {
          final double y = transformable.getY();
          if (sy < 0 && y <= dy || sy >= 0 && y >= dy)
          {
              transformable.moveLocation(extrp, 0, dy - y);
              return true;
          }
          return false;
      }
docs: Check if the pathfindable is vertically arrived.
  
  @param extrp The extrapolation value.
  @param sy The vertical speed.
  @param dy The vertical tile destination.
  @return <code>true</code> if arrived, <code>false</code> else.