public class AStar
extends Object
A* pathfinding that supports float coordinates for precise start/goal positions.
Uses Manhattan + diagonal movement.
-
Constructor Summary
Constructors
-
Method Summary
static List<com.badlogic.gdx.math.Vector2>
findPath(TileMap map,
float startX,
float startY,
float goalX,
float goalY,
int chunkSize)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Details
-
findPath
public static List<com.badlogic.gdx.math.Vector2> findPath(TileMap map,
float startX,
float startY,
float goalX,
float goalY,
int chunkSize)