-inline Bitboard Position::knights() const {
- return pieces_of_type(KNIGHT);
-}
-
-inline Bitboard Position::bishops() const {
- return pieces_of_type(BISHOP);
-}
-
-inline Bitboard Position::rooks() const {
- return pieces_of_type(ROOK);
-}
-
-inline Bitboard Position::queens() const {
- return pieces_of_type(QUEEN);
-}
-
-inline Bitboard Position::kings() const {
- return pieces_of_type(KING);
-}
-
-inline Bitboard Position::rooks_and_queens() const {
- return rooks() | queens();
-}
-
-inline Bitboard Position::bishops_and_queens() const {
- return bishops() | queens();
-}
-
-inline Bitboard Position::sliders() const {
- return bishops() | queens() | rooks();
-}
-
-inline Bitboard Position::pawns(Color c) const {
- return pieces_of_color_and_type(c, PAWN);
-}
-
-inline Bitboard Position::knights(Color c) const {
- return pieces_of_color_and_type(c, KNIGHT);
-}
-
-inline Bitboard Position::bishops(Color c) const {
- return pieces_of_color_and_type(c, BISHOP);
-}
-
-inline Bitboard Position::rooks(Color c) const {
- return pieces_of_color_and_type(c, ROOK);
-}
-
-inline Bitboard Position::queens(Color c) const {
- return pieces_of_color_and_type(c, QUEEN);
-}
-
-inline Bitboard Position::kings(Color c) const {
- return pieces_of_color_and_type(c, KING);
-}
-
-inline Bitboard Position::rooks_and_queens(Color c) const {
- return rooks_and_queens() & pieces_of_color(c);
-}
-
-inline Bitboard Position::bishops_and_queens(Color c) const {
- return bishops_and_queens() & pieces_of_color(c);
-}
-
-inline Bitboard Position::sliders_of_color(Color c) const {
- return sliders() & pieces_of_color(c);