Modifier and Type | Method and Description |
---|---|
abstract AStarMapBase<T> |
AStarMapBase.clone() |
Modifier and Type | Method and Description |
---|---|
static <T extends AStarNodeBase<T>> |
AStar.findPath(AStarOpenListBase<T> openList,
AStarClosedListBase<T> closedList,
AStarMapBase<T> map,
AStarGoalBase<T> goal,
ObjectPool<T> nodePool,
AStarMapVisitorBase<T> usedVisitor)
Executes a path search on the provided data structures.
|
Constructor and Description |
---|
ExternalVisitor(AStarOpenListBase<T> openList,
AStarClosedListBase<T> closedList,
AStarMapBase<T> map,
AStarGoalBase<T> goal) |
Modifier and Type | Method and Description |
---|---|
void |
AStarMachineSimple.setUpSearchSpace(AStarMapBase<AStarNode> newMap,
AStarGoalBase<AStarNode> newGoal) |
void |
AStarMachineFast.setUpSearchSpace(AStarMapBase<AStarNode> newMap,
AStarGoalBase<AStarNode> newGoal) |
void |
AStarRegionMachine.setUpSearchSpace(AStarMapBase<AStarRegionNode> newMap,
AStarGoalBase<AStarRegionNode> newGoal) |
void |
AStarMachine.setUpSearchSpace(AStarMapBase<T> newMap,
AStarGoalBase<T> newGoal) |
Modifier and Type | Class and Description |
---|---|
class |
FieldMap<T extends AStarNodeBase<T>>
Remembers which fields are free and which are blocked and determines the free
neighbours of a field.
|
class |
HashedInfiniteMap<T extends AStarNodeBase<T>> |
class |
HashedInfiniteMapEightNeighbours<T extends AStarNodeBase<T>>
This map is mostly the same as the HashedInfiniteMap, with the difference
that it returns neighbour tiles in all eight directions rather than just
four.
|
class |
RegionBoundingBox
Acts as a proxy to the global region grid.
|
Modifier and Type | Method and Description |
---|---|
AStarMapBase<AStarRegionNode> |
RegionBoundingBox.clone() |
AStarMapBase<T> |
HashedInfiniteMapEightNeighbours.clone() |
AStarMapBase<T> |
HashedInfiniteMap.clone() |
AStarMapBase<T> |
FieldMap.clone() |
Constructor and Description |
---|
RegionBoundingBox(AStarMapBase<AStarRegionNode> regionGrid,
int startX,
int startY,
int startZ,
int goalX,
int goalY,
int goalZ)
Creates a new bounding box around the given pair of coordinates.
|
Modifier and Type | Method and Description |
---|---|
void |
AStarOpenListPriorityQueue.setMap(AStarMapBase<AStarNode> map) |
void |
AStarClosedListHashMap.setMap(AStarMapBase<AStarNode> map) |
void |
AStarOpenListCheapList.setMap(AStarMapBase<T> map) |
void |
AStarClosedListReferencing.setMap(AStarMapBase<T> map) |