|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface OldAStarHeuristic
Method Summary | |
---|---|
float |
getEstimatedDistanceToGoal(int startX,
int startY,
int goalX,
int goalY)
The heuristic tries to guess how far a given Node is from the goal Node. |
Method Detail |
---|
float getEstimatedDistanceToGoal(int startX, int startY, int goalX, int goalY)
map
- The map on which the path is being foundx
- The x coordinate of the tile being evaluatedy
- The y coordinate of the tile being evaluatedtx
- The x coordinate of the target locationty
- The y coordinate of the target location
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |