Exemplo n.º 1
0
        public PositionManager Create(BoardProperties context)
        {
            var lineGroups      = LineTypeExtensions.GetAll().ToDictionary(t => t, t => (ILines)CreateLineGroup(context, t));
            var positionManager = new PositionManager(context, lineGroups);

            return(positionManager);
        }
Exemplo n.º 2
0
 public IEnumerable <IPositions> GetAllLinesOf(Position position)
 {
     return(LineTypeExtensions.GetAll().Select(t => GetLineOf(position, t)));
 }