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