HAAStar
Namespace: Murder.Core.Ai
Assembly: Murder.dll
public class HAAStar
⭐ Constructors
public HAAStar(int width, int height)
Parameters
width
int
height
int
⭐ Properties
CLUSTER_SIZE
public static const int CLUSTER_SIZE;
Returns
int
ClusterHeight
public readonly int ClusterHeight;
Returns
int
ClusterWidth
public readonly int ClusterWidth;
Returns
int
DebugNodes
public ImmutableDictionary<TKey, TValue> DebugNodes;
Returns
ImmutableDictionary<TKey, TValue>
⭐ Methods
Search(Map, Point, Point)
public ImmutableDictionary<TKey, TValue> Search(Map map, Point initial, Point target)
Parameters
map
Map
initial
Point
target
Point
Returns
ImmutableDictionary<TKey, TValue>
Refresh(Map)
public void Refresh(Map map)
Parameters
map
Map
⚡