[BitBoard] Add kingAttacks method

This commit is contained in:
2022-12-22 11:39:00 +01:00
parent 4157c9200e
commit db23a4c610
2 changed files with 11 additions and 0 deletions

View File

@@ -95,6 +95,8 @@ public:
BitBoard southFill() const;
BitBoard fileFill() const;
static BitBoard kingAttacks(BitBoard bb);
static BitBoard fromIndex(unsigned i);
static BitBoard getRank(int r);