|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The PathFinder interface is a function that finds a path (represented by a List of Vector3Ds) from one location to another, or from one GameObject to another. Note that the find() method can ignore the requested goal, and instead give an arbitrary path, like patrolling in a set path or running away from the goal.
Method Summary | |
java.util.Iterator |
find(GameObject a,
GameObject b)
Finds a path from GameObject A to GameObject B. |
java.util.Iterator |
find(Vector3D start,
Vector3D goal)
Finds a path from the start location to the goal location. |
Method Detail |
public java.util.Iterator find(GameObject a, GameObject b)
public java.util.Iterator find(Vector3D start, Vector3D goal)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |