Exemplo n.º 1
0
 public IChessboardArray CreateChessboardArray(IReadOnlyPosition position)
 {
     // TODO - using memory pools for such objects?
     Debug.Assert(position is Position.Position);
     var result = new ChessboardArray();
     result.Reset(position as Position.Position);
     return result;
 }
Exemplo n.º 2
0
 public static ChessboardArray GetChessboardArray(PlayerPieceSet white_pieces,
     PlayerPieceSet black_pieces)
 {
     // TODO
     var result = new ChessboardArray();
     result.Reset(white_pieces, black_pieces);
     return result;
 }