示例#1
0
文件: Engine.cs 项目: htoomik/aoc2018
 public Route FindShortestRoute(Unit unit, Coords target)
 {
     return(PathFinder.FindShortestRoute(unit.GetCoords(), target, _walls, Units));
 }
示例#2
0
文件: Engine.cs 项目: htoomik/aoc2018
 private bool IsFree(Coords coords)
 {
     return(PathFinder.IsFree(_walls, Units, coords));
 }