Class AStarAlgorithm
java.lang.Object
com.epicbot.api.shared.model.path.finding.AStarAlgorithm
A* path finding algorithm.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic doubledistance(Locatable origin, Locatable destination, boolean ignoreObjects, APIContext ctx) Calculates the distance between the origin and the destination.static doubledistance(Locatable origin, Locatable destination, APIContext ctx) Calculates the distance between the origin and the destination.static Tile[]findPath(Locatable origin, Locatable destination, APIContext ctx) Finds a path from origin to destination.
-
Constructor Details
-
AStarAlgorithm
public AStarAlgorithm()
-
-
Method Details