Esempio n. 1
0
 public BoardState(Piece[] currentBoardPosition, UInt64[] pieceToBitboard,
                   CastlingAndEnPassantRights castlingAndEnPassant, int sideToMove, UInt64 zobristHash)
 {
     CurrentBoardPosition = currentBoardPosition;
     PieceToBitboard      = pieceToBitboard;
     CastlingAndEnPassant = castlingAndEnPassant;
     SideToMove           = sideToMove;
     ZobristHash          = zobristHash;
 }
 public CastlingAndEnPassantRights(CastlingAndEnPassantRights castlingAndEnPassantRights)
 {
     _castlingRights  = castlingAndEnPassantRights._castlingRights;
     _enPassantSquare = castlingAndEnPassantRights._enPassantSquare;
 }