Class Pathing
- java.lang.Object
-
- org.rspeer.game.movement.pathfinding.Pathing
-
@Deprecated public class Pathing extends Object
Deprecated.- See Also:
LocalPathing
-
-
Constructor Summary
Constructors Constructor Description Pathing()Deprecated.
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static List<Position>calculatePath(Position start, Position end)Deprecated.static List<Position>calculatePath(Position start, Position end, int maxScore)Deprecated.static List<Position>calculatePath(Position start, Position end, int maxScore, BiPredicate<Position,Position> override)Deprecated.static List<Position>calculatePath(Position start, Position end, BiPredicate<Position,Position> override)Deprecated.static intgetDistance(Position from, Position to)Deprecated.static booleanisValid(Direction dir, Position from, Position to, boolean ignoreStartBlocked)Deprecated.
-
-
-
Method Detail
-
calculatePath
public static List<Position> calculatePath(Position start, Position end, BiPredicate<Position,Position> override)
Deprecated.
-
calculatePath
public static List<Position> calculatePath(Position start, Position end, int maxScore)
Deprecated.
-
calculatePath
public static List<Position> calculatePath(Position start, Position end, int maxScore, BiPredicate<Position,Position> override)
Deprecated.
-
getDistance
public static int getDistance(Position from, Position to)
Deprecated.- Returns:
- Integer.MAX_VALUE if pathfinding failed, or the number of walkable positions between tiles.
-
-