|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AStarHeuristic
Method Summary | |
---|---|
float |
getCost(PathBasedMap<? extends AbstractPathTile> map,
Pathfindable mover,
int x,
int y,
int tx,
int ty)
This controls the order in which tiles are searched while attempting to find a path to the target location. |
Method Detail |
---|
float getCost(PathBasedMap<? extends AbstractPathTile> map, Pathfindable mover, int x, int y, int tx, int ty)
map
- map on which the path is being found.mover
- entity that is moving along the path.x
- x coordinate of the tile being evaluated.y
- y coordinate of the tile being evaluated.tx
- x coordinate of the target location.ty
- y coordinate of the target location.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |