Exemplo n.º 1
0
 public int?Heuristic(IHex here, IHex target) =>
 MapSizeHexes.IsOnboard(target.Coords) && MapSizeHexes.IsOnboard(here.Coords)
         ? here.Range(target) * _minimumCost
         : default;