Class GlobalPath<T extends AbstractWebNode>
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<E>
org.highlife.api.methods.walking.path.AbstractPath<T>
org.highlife.api.methods.walking.path.impl.GlobalPath<T>
- All Implemented Interfaces:
Iterable<T>,Collection<T>,List<T>
-
Field Summary
Fields inherited from class java.util.AbstractList
modCount -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclosest()intstatic GlobalPath<? extends AbstractWebNode>booleannext()voidsetFinalCost(int finalCost) booleanwalk()Methods inherited from class org.highlife.api.methods.walking.path.AbstractPath
add, addAll, addAll, addToFront, clear, direction, first, get, getObstacleForTile, indexOf, isObstacleTile, iterator, last, listIterator, obstacles, path, remove, reverse, setDirection, sizeMethods inherited from class java.util.AbstractList
add, addAll, equals, hashCode, lastIndexOf, listIterator, remove, removeRange, set, subListMethods inherited from class java.util.AbstractCollection
contains, containsAll, isEmpty, removeAll, retainAll, toArray, toArray, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface java.util.List
contains, containsAll, isEmpty, removeAll, replaceAll, retainAll, sort, spliterator, toArray, toArray
-
Constructor Details
-
GlobalPath
public GlobalPath()
-
-
Method Details
-
walk
public boolean walk()- Specified by:
walkin classAbstractPath<T extends AbstractWebNode>
-
hasSpecialNode
public boolean hasSpecialNode() -
next
- Specified by:
nextin classAbstractPath<T extends AbstractWebNode>
-
closest
-
closest
-
getLastWalkedPath
-
getFinalCost
public int getFinalCost() -
setFinalCost
public void setFinalCost(int finalCost)
-