AIsOfCatan.StarterAgent.FindBestRoad C# (CSharp) Method

FindBestRoad() private method

private FindBestRoad ( Intersection from, IBoard board ) : Edge
from AIsOfCatan.API.Intersection
board IBoard
return Edge
        private Edge FindBestRoad(Intersection from, IBoard board)
        {
            // find the best neighbor intersection and takes the edge to that
            return GetEdgeBetween(FindBestIntersection(GetEnds(from, board),board),from);
        }

Same methods

StarterAgent::FindBestRoad ( IEnumerable edges, IBoard board ) : Edge