|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PathFinder
A description of an implementation that can find a path from one location on a tile map to another based on information provided by that tile map.
Method Summary | |
---|---|
Path |
findPath(Pathfindable mover,
int sx,
int sy,
int tx,
int ty,
boolean ignoreRef)
Find a path from the starting location provided (sx,sy) to the target location (tx,ty) avoiding blockages and attempting to honour costs provided by the tile map. |
Method Detail |
---|
Path findPath(Pathfindable mover, int sx, int sy, int tx, int ty, boolean ignoreRef)
mover
- entity that will be moving along the path.sx
- x coordinate of the start location.sy
- y coordinate of the start location.tx
- x coordinate of the target location.ty
- y coordinate of the target location.ignoreRef
- ignore map array ref checking.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |