AIsOfCatan.StarterAgent.GetEnds C# (CSharp) Метод

GetEnds() приватный Метод

private GetEnds ( Intersection inter, IBoard board ) : IEnumerable
inter AIsOfCatan.API.Intersection
board IBoard
Результат IEnumerable
        private IEnumerable<Intersection> GetEnds(Intersection inter, IBoard board)
        {
            return board.GetAdjacentEdges(inter).SelectMany(e => board.GetAdjacentIntersections(e)).Where(i => !i.Equals(inter));
        }