|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.deken.game.pathfinding.PathFindingAStar
public class PathFindingAStar
Title: PathFindingAStar
Description: TODO
Copyright: Copyright (c) Feb 12, 2012
Constructor Summary | |
---|---|
PathFindingAStar()
|
|
PathFindingAStar(NodeLinkComparator linkComparator)
|
Method Summary | |
---|---|
Path |
getPath(Node startNode,
Node goalNode)
Gets path from the start to the goal. |
Path |
getPath(Node startNode,
Node goalNode,
int excludeX,
int excludeY)
Gets the path from the start, by not going through the excludeX & Y. |
void |
updateTargetLocation(int x,
int y)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PathFindingAStar()
public PathFindingAStar(NodeLinkComparator linkComparator)
Method Detail |
---|
public Path getPath(Node startNode, Node goalNode)
PathFinding
getPath
in interface PathFinding
public Path getPath(Node startNode, Node goalNode, int excludeX, int excludeY)
PathFinding
getPath
in interface PathFinding
public void updateTargetLocation(int x, int y)
updateTargetLocation
in interface PathFinding
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |