PathfindServices
Namespace: Murder.Core.Ai
Assembly: Murder.dll
public static class PathfindServices
⭐ Methods
FindPath(Map, World, Point, Point, PathfindAlgorithmKind, int)
public ImmutableDictionary<TKey, TValue> FindPath(Map map, World world, Point initial, Point target, PathfindAlgorithmKind kind, int collisionMask)
Find a path between
Parameters
map
Map
world
World
initial
Point
target
Point
kind
PathfindAlgorithmKind
collisionMask
int
Returns
ImmutableDictionary<TKey, TValue>
UpdatePathfind(World)
public void UpdatePathfind(World world)
Update all cached pathfind on a map change.
Parameters
world
World
⚡