예제 #1
0
파일: Chief.cs 프로젝트: tgadfly/Midnight
        private List <Cell> CompileFootholdCells(List <Hq> HQs)
        {
            IEnumerable <Cell> cells = new List <Cell>();

            cells = HQs.Aggregate(cells, (current, HQ) => current.Union(HQ.GetFootholdCells()));

            return(cells.ToList());
        }