Class GlobalPath<T extends AbstractWebNode>
- java.lang.Object
- 
- java.util.AbstractCollection<E>
- 
- java.util.AbstractList<E>
- 
- org.dreambot.api.methods.walking.path.AbstractPath<T>
- 
- org.dreambot.api.methods.walking.path.impl.GlobalPath<T>
 
 
 
 
- 
- All Implemented Interfaces:
- java.lang.Iterable<T>,- java.util.Collection<T>,- java.util.List<T>
 
 public class GlobalPath<T extends AbstractWebNode> extends AbstractPath<T> Created with IntelliJ IDEA.- Since:
- : 1/10/2015 Time : 10:55 PM
 
- 
- 
Constructor SummaryConstructors Constructor Description GlobalPath()
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Tclosest()Gets the closest node to your playerTclosest(Tile tile)Gets the closest node to specified tileintgetFinalCost()static GlobalPath<? extends AbstractWebNode>getLastWalkedPath()booleanhasSpecialNode()Tnext()Gets the next node in the pathvoidsetFinalCost(int finalCost)booleanwalk()Walks the next point in the path- 
Methods inherited from class org.dreambot.api.methods.walking.path.AbstractPathadd, addAll, addAll, addToFront, clear, direction, first, get, getObstacleForTile, indexOf, isObstacleTile, iterator, last, listIterator, obstacles, path, remove, reverse, setDirection, size
 - 
Methods inherited from class java.util.AbstractListadd, addAll, equals, hashCode, lastIndexOf, listIterator, remove, set, subList
 
- 
 
- 
- 
- 
Method Detail- 
walkpublic boolean walk() Walks the next point in the path- Specified by:
- walkin class- AbstractPath<T extends AbstractWebNode>
- Returns:
- True if walked, else false
 
 - 
hasSpecialNodepublic boolean hasSpecialNode() 
 - 
nextpublic T next() Gets the next node in the path- Specified by:
- nextin class- AbstractPath<T extends AbstractWebNode>
- Returns:
- E
 
 - 
closestpublic T closest() Gets the closest node to your player- Returns:
- T
 
 - 
closestpublic T closest(Tile tile) Gets the closest node to specified tile- Parameters:
- tile- Tile to find node near
- Returns:
- T
 
 - 
getLastWalkedPathpublic static GlobalPath<? extends AbstractWebNode> getLastWalkedPath() 
 - 
getFinalCostpublic int getFinalCost() 
 - 
setFinalCostpublic void setFinalCost(int finalCost) 
 
- 
 
-