public interface PathFinder
Path findPath(PathMover mover, int sx, int sy, int tx, int ty)
mover
- The entity that will be moving along the path. This provides
a place to pass context information about the game entity doing the moving, e.g.
can it fly? can it swim etc.sx
- The x coordinate of the start location.sy
- The y coordinate of the start location.tx
- The x coordinate of the target location.ty
- Teh y coordinate of the target location.