Class Pathing
java.lang.Object
org.rspeer.game.movement.pathfinding.Pathing
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncalculatePath
(Position start, Position end) calculatePath
(Position start, Position end, int maxScore) calculatePath
(Position start, Position end, int maxScore, BiPredicate<Position, Position> override) calculatePath
(Position start, Position end, BiPredicate<Position, Position> override) static int
getDistance
(Position from, Position to) static boolean
-
Constructor Details
-
Pathing
public Pathing()
-
-
Method Details
-
calculatePath
-
calculatePath
-
calculatePath
-
calculatePath
-
getDistance
- Returns:
- Integer.MAX_VALUE if pathfinding failed, or the number of walkable positions between tiles.
-
isValid
-