Exemplo n.º 1
0
 public Route FindShortestRoute(Unit unit, Coords target)
 {
     return(PathFinder.FindShortestRoute(unit.GetCoords(), target, _walls, Units));
 }
Exemplo n.º 2
0
 private bool IsFree(Coords coords)
 {
     return(PathFinder.IsFree(_walls, Units, coords));
 }