protected internal BoardCell ( Board board, BoardCellLocation location ) { State = CellState.Vacant; Board = board ?? throw new ArgumentNullException(nameof(board)); Location = location ?? throw new ArgumentNullException(nameof(location)); }
internal BoardCell CreateBoardCell(BoardCellLocation location) { return(new BoardCell(this, location)); }