public class AStarMachineSimple extends java.lang.Object implements AStarMachine<AStarNode>
Constructor and Description |
---|
AStarMachineSimple(ObjectPool<AStarNode> nodePool) |
Modifier and Type | Method and Description |
---|---|
java.util.List<AStarNode> |
findPath(int startX,
int startY,
int startZ,
int endX,
int endY,
int endZ) |
void |
setUpSearchSpace(AStarMapBase<AStarNode> newMap,
AStarGoalBase<AStarNode> newGoal) |
public AStarMachineSimple(ObjectPool<AStarNode> nodePool)
public java.util.List<AStarNode> findPath(int startX, int startY, int startZ, int endX, int endY, int endZ)
findPath
in interface AStarMachine<AStarNode>
public void setUpSearchSpace(AStarMapBase<AStarNode> newMap, AStarGoalBase<AStarNode> newGoal)
setUpSearchSpace
in interface AStarMachine<AStarNode>