rlgamekit.pathfinding
Interface PathSource

All Known Implementing Classes:
PathSourceLink

public interface PathSource

The pathfinding code will access maps through this interface.


Method Summary
 boolean isMoveAllowed(int fromX, int fromY, int toX, int toY)
          Checks if a move is allowed.
 

Method Detail

isMoveAllowed

boolean isMoveAllowed(int fromX,
                      int fromY,
                      int toX,
                      int toY)
Checks if a move is allowed.

Returns:
true if move is allowed, false otherwise