|
@@ -47,19 +47,19 @@ private:
|
|
|
bool tryToMove(Bitboard start, Bitboard end, Bitboard& b);
|
|
|
public:
|
|
|
|
|
|
- Bitboard getWhitePawns(void) const { return whites[PAWN]; }
|
|
|
- Bitboard getWhiteKnights(void) const { return whites[KNIGHT]; }
|
|
|
- Bitboard getWhiteBishops(void) const { return whites[BISHOP]; }
|
|
|
- Bitboard getWhiteRooks(void) const { return whites[ROOK]; }
|
|
|
- Bitboard getWhiteQueens(void) const { return whites[QUEEN]; }
|
|
|
- Bitboard getWhiteKings(void) const { return whites[KING]; }
|
|
|
-
|
|
|
- Bitboard getBlackPawns(void) const { return blacks[PAWN]; }
|
|
|
- Bitboard getBlackKnights(void) const { return blacks[KNIGHT]; }
|
|
|
- Bitboard getBlackBishops(void) const { return blacks[BISHOP]; }
|
|
|
- Bitboard getBlackRooks(void) const { return blacks[ROOK]; }
|
|
|
- Bitboard getBlackQueens(void) const { return blacks[QUEEN]; }
|
|
|
- Bitboard getBlackKings(void) const { return blacks[KING]; }
|
|
|
+ Bitboard getWhitePawns (void) const { return whites[PAWN]; }
|
|
|
+ Bitboard getWhiteKnights(void) const { return whites[KNIGHT]; }
|
|
|
+ Bitboard getWhiteBishops(void) const { return whites[BISHOP]; }
|
|
|
+ Bitboard getWhiteRooks (void) const { return whites[ROOK]; }
|
|
|
+ Bitboard getWhiteQueens (void) const { return whites[QUEEN]; }
|
|
|
+ Bitboard getWhiteKings (void) const { return whites[KING]; }
|
|
|
+
|
|
|
+ Bitboard getBlackPawns (void) const { return blacks[PAWN]; }
|
|
|
+ Bitboard getBlackKnights(void) const { return blacks[KNIGHT]; }
|
|
|
+ Bitboard getBlackBishops(void) const { return blacks[BISHOP]; }
|
|
|
+ Bitboard getBlackRooks (void) const { return blacks[ROOK]; }
|
|
|
+ Bitboard getBlackQueens (void) const { return blacks[QUEEN]; }
|
|
|
+ Bitboard getBlackKings (void) const { return blacks[KING]; }
|
|
|
|
|
|
/*!
|
|
|
* parses the first part of a FEN string and sets the board
|