bb: getOccupancy based on index value
This commit is contained in:
1 parent
20f0ea142a
commit
9680d905bd
3 files changed
+21
-1
No files matched your search
@@ -20,6 +20,7 @@ public:
|
||||
|
||||
int popCount() const;
|
||||
int getLS1BIndex() const;
|
||||
static Bitboard getOccupancy(int index, Bitboard attackMask);
|
||||
|
||||
static Bitboard GetSquare(int square) {
|
||||
return (1ULL << square);
|
||||
|
||||
Reference in new issue
Block a user