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