feat: en passant generally implemented
This commit is contained in:
parent
1842e25918
commit
10a4dcb60b
4 changed files with 53 additions and 12 deletions
|
|
@ -228,7 +228,6 @@ class Pawn : public Piece {
|
|||
virtual std::vector<Move> getLegalMoves(const Square &from, Board &board) const override;
|
||||
void promote(const Square &promotionSquare, Board &board, PieceType promoteTo);
|
||||
protected:
|
||||
bool vulnEnPassant = false;
|
||||
bool firstMove = true;
|
||||
};
|
||||
#endif // PIECE_HPP
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue