Class AStarPathFinder
java.lang.Object
com.zenith.feature.pathfinder.calc.AbstractNodeCostSearch
com.zenith.feature.pathfinder.calc.AStarPathFinder
-
Field Summary
Fields inherited from class AbstractNodeCostSearch
bestSoFar, cancelRequested, COEFFICIENTS, goal, MIN_DIST_PATH, MIN_IMPROVEMENT, mostRecentConsidered, realStart, startNode, startX, startY, startZ -
Constructor Summary
ConstructorsConstructorDescriptionAStarPathFinder(BlockPos realStart, int startX, int startY, int startZ, Goal goal, Favoring favoring, CalculationContext context) -
Method Summary
Methods inherited from class AbstractNodeCostSearch
bestPathSoFar, bestSoFar, calculate, cancel, getDistFromStartSq, getGoal, getNodeAtPosition, getStart, isFinished, mapSize, pathToMostRecentNodeConsidered
-
Constructor Details
-
AStarPathFinder
public AStarPathFinder(BlockPos realStart, int startX, int startY, int startZ, Goal goal, Favoring favoring, CalculationContext context)
-
-
Method Details
-
calculate0
- Specified by:
calculate0in classAbstractNodeCostSearch
-