|
BenBot 1.7.5
A chess engine
|
#include <libchess/moves/AttackInfo.hpp>
Public Member Functions | |
| constexpr auto | operator== (const Side &) const noexcept -> bool=default |
Public Attributes | |
| Bitboard | all |
| Bitboard | bishops |
| Squares attacked by bishops. | |
| Bitboard | king |
| Squares attacked by the king. | |
| Bitboard | knights |
| Squares attacked by knights. | |
| Bitboard | pawns |
| Squares attacked by pawns. | |
| Bitboard | queens |
| Squares attacked by queens. | |
| Bitboard | rooks |
| Squares attacked by rooks. | |
| Bitboard | twice |
The attack sets for one side.
Definition at line 47 of file AttackInfo.hpp.
|
nodiscardconstexprdefaultnoexcept |
Compares two attack sets for equality.
| Bitboard chess::moves::AttackInfo::Side::all |
Squares attacked by any of this side's pieces, including the king.
Definition at line 56 of file AttackInfo.hpp.
| Bitboard chess::moves::AttackInfo::Side::bishops |
Squares attacked by bishops.
Definition at line 50 of file AttackInfo.hpp.
| Bitboard chess::moves::AttackInfo::Side::king |
Squares attacked by the king.
Definition at line 53 of file AttackInfo.hpp.
| Bitboard chess::moves::AttackInfo::Side::knights |
Squares attacked by knights.
Definition at line 49 of file AttackInfo.hpp.
| Bitboard chess::moves::AttackInfo::Side::pawns |
Squares attacked by pawns.
Definition at line 48 of file AttackInfo.hpp.
| Bitboard chess::moves::AttackInfo::Side::queens |
Squares attacked by queens.
Definition at line 52 of file AttackInfo.hpp.
| Bitboard chess::moves::AttackInfo::Side::rooks |
Squares attacked by rooks.
Definition at line 51 of file AttackInfo.hpp.
| Bitboard chess::moves::AttackInfo::Side::twice |
Squares attacked at least twice by this side's pieces, including the king. Two pieces of the same type attacking a square count as two attackers.
Definition at line 61 of file AttackInfo.hpp.