Package mindustry.ai
Class Astar
java.lang.Object
mindustry.ai.Astar
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
static interface
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionpathfind
(int startX, int startY, int endX, int endY, Astar.TileHueristic th, Boolf<Tile> passable) pathfind
(int startX, int startY, int endX, int endY, Astar.TileHueristic th, Astar.DistanceHeuristic dh, Boolf<Tile> passable)
-
Field Details
-
manhattan
-
-
Constructor Details
-
Astar
public Astar()
-
-
Method Details
-
pathfind
-
pathfind
public static Seq<Tile> pathfind(int startX, int startY, int endX, int endY, Astar.TileHueristic th, Boolf<Tile> passable) -
pathfind
public static Seq<Tile> pathfind(int startX, int startY, int endX, int endY, Astar.TileHueristic th, Astar.DistanceHeuristic dh, Boolf<Tile> passable)
-