A simple A* pathfinder.
More...
|
| SimplePathfinder (bool[,] obstructionMap) |
| Initializes a new pathfinder. More...
|
|
IEnumerable< Vector2 > | FindPath (Vector2 start, Vector2 target) |
|
IEnumerable< TCoordinates > | FindPath (TCoordinates start, TCoordinates target) |
| Calculates a path from source to target coordinates. More...
|
|
◆ SimplePathfinder()
AlphaFramework.World.Paths.SimplePathfinder.SimplePathfinder |
( |
bool |
obstructionMap[,] | ) |
|
|
inline |
Initializes a new pathfinder.
- Parameters
-
obstructionMap | A 2D map of obstructed (untraversable) fields. |
The documentation for this class was generated from the following file:
- World/Paths/SimplePathfinder.cs