Class CutoffPath
java.lang.Object
com.zenith.feature.pathfinder.calc.PathBase
com.zenith.feature.pathfinder.calc.CutoffPath
- All Implemented Interfaces:
IPath
-
Constructor Summary
ConstructorsConstructorDescriptionCutoffPath(IPath prev, int lastPositionToInclude) CutoffPath(IPath prev, int firstPositionToInclude, int lastPositionToInclude) -
Method Summary
Methods inherited from class PathBase
cutoffAtLoadedChunks, staticCutoffMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface IPath
getDest, getSrc, length, postProcess, sanityCheck, ticksRemainingFrom
-
Constructor Details
-
CutoffPath
-
CutoffPath
-
-
Method Details
-
getGoal
- Returns:
- The goal that this path was calculated towards
-
movements
Description copied from interface:IPathOrdered list of movements to carry out. movements.get(i).getSrc() should equal positions.get(i) movements.get(i).getDest() should equal positions.get(i+1) movements.size() should equal positions.size()-1- Returns:
- All of the movements to carry out
-
positions
-
getNumNodesConsidered
public int getNumNodesConsidered()Description copied from interface:IPathReturns the number of nodes that were considered during calculation before this path was found.- Returns:
- The number of nodes that were considered before finding this path
-