public PathingQuery(PathingMap map, Rect dest, float range) { Map = map; Destination = dest; Range = range; Initialize(); }
public override void Bind(SimEntity entity) { base.Bind(entity); map = GetService<PathingMap>(); if (map != null) map.AddCost(Entity.Bounds, Entity.Position); }