|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.brackeen.javagamebook.ai.pattern.AIPattern
Simple abstract PathFinder that implements the find(Vector3D, Vector3D) method to return null. Unimplemented ideas: AttackPatternSneak and DodgePatternHide
Constructor Summary | |
AIPattern(BSPTree bspTree)
The BSP tree is used to get correct y values for the world. |
Method Summary | |
abstract java.util.Iterator |
find(GameObject bot,
GameObject player)
Finds a path from GameObject A to GameObject B. |
java.util.Iterator |
find(Vector3D start,
Vector3D goal)
The method isn't implemented for AIPatterns |
void |
setBSPTree(BSPTree bspTree)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public AIPattern(BSPTree bspTree)
Method Detail |
public void setBSPTree(BSPTree bspTree)
public java.util.Iterator find(Vector3D start, Vector3D goal)
find
in interface PathFinder
public abstract java.util.Iterator find(GameObject bot, GameObject player)
PathFinder
find
in interface PathFinder
public java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |