A strategy pattern interface for pathfinding algorithms.
More...
|
IEnumerable< TCoordinates > | FindPath (TCoordinates start, TCoordinates target) |
| Calculates a path from source to target coordinates. More...
|
|
A strategy pattern interface for pathfinding algorithms.
- Template Parameters
-
TCoordinates | Data type for storing position coordinates of objects in the game world. |
◆ FindPath()
Calculates a path from source to target coordinates.
- Parameters
-
start | The starting coordinates. |
target | The end coordinates. |
- Returns
- A list of coordinates forming a path;
null
if no path was found.
The documentation for this interface was generated from the following file:
- World/Paths/IPathfinder.cs