src/model/pathfinding/ImmediatePathFinder.java
@Override
    public List<Direction> computePath(int fromX, int fromY, int toX, int toY) {
        try {
            return new AStarCallable(worldWrapper::isMovementObstruction, 
                    fromX, fromY, toX, toY, Integer.MAX_VALUE).call();
        } catch (Exception e) {
            log.severe("Failed to acquire path, returning null");
            return null;
        }
    }
/**
     * Computes a path from and to the specified coordinates, not taking
     * agents into account as obstructions. This blocks until it returns
     * the path, though it could return null if an error occurs.
     */
Computes a path from and to the specified coordinates, not taking
agents into account as obstructions. This blocks until it returns
the path, though it could return null if an error occurs.
Computes a path from and to the specified coordinates not taking agents into account as obstructions . This blocks until it returns the path though it could return null if an error occurs .
@Override
    public List<Direction> computePath(int fromX, int fromY, int toX, int toY) {
        try {
            return new AStarCallable(worldWrapper::isMovementObstruction, 
                    fromX, fromY, toX, toY, Integer.MAX_VALUE).call();
        } catch (Exception e) {
            log.severe("Failed to acquire path, returning null");
            return null;
        }
    }
@ Override public List < Direction > computePath ( int fromX , int fromY , int toX , int toY ) { try { return new AStarCallable ( worldWrapper :: isMovementObstruction , fromX , fromY , toX , toY , Integer . MAX_VALUE ) . call ( ) ; } catch ( Exception e ) { log . severe ( "Failed to acquire path, returning null" ) ; return null ; } }
Computes a path from and to the specified coordinates, not taking
 agents into account as obstructions.
Computes a path from and to the specified coordinates not taking agents into account as obstructions .