private boolean isTileBlocked ( Pathfindable mover , int tx , int ty ) { final Tile tile = map . getTile ( tx , ty ) ; if ( tile != null ) { final TilePath tilePath = tile . getFeature ( TilePath . class ) ; return mover . isBlocking ( tilePath . getCategory ( ) ) ; } return false ; }
Check if tile is blocking .