Belofte version 2.1.9
A promising chess program using the UCI or Winboard interface
bRook Class Reference

#include <piece.h>

+ Inheritance diagram for bRook:
+ Collaboration diagram for bRook:

Public Member Functions

 bRook (piece_t p)
 
 ~bRook () override
 
- Public Member Functions inherited from bPiece
 bPiece ()
 
 bPiece (bPiece &&bp)
 
 bPiece (piece_t piece)
 
virtual ~bPiece ()
 
 bPiece (bPiece const &)=delete
 
bPieceoperator= (bPiece const &)=delete
 
bPieceoperator= (bPiece &&)=delete
 
constexpr piece_t getPiece () const
 
virtual bool hasValidMovePreflightCheck (bBasicBoard &b, case_t const &cf)=0
 
virtual movenum_t GenerateMoves (bBasicBoard const &b, case_t const &cf, bMoveList &ml)=0
 
side_t toMove () const
 

Additional Inherited Members

- Static Public Member Functions inherited from bPiece
static piece_t getPiece (cpiece_t const piece)
 static class member function
 
static cpiece_t getPieceChar (piece_t const piece)
 static class member function
 
static bPiecegetPieceClass (piece_t const piece)
 static class member function
 
static const std::string getPieceStrUpper (piece_t const piece)
 static class member function
 
static bool isOpponent (side_t const s, piece_t const piece)
 static class member function
 
static bool isOwnColour (side_t const s, piece_t const piece)
 static class member function
 
static bool isWhitePiece (piece_t const p)
 static class member function
 
static bool isBlackPiece (piece_t const p)
 static class member function
 

Detailed Description

Definition at line 441 of file piece.h.

Constructor & Destructor Documentation

◆ bRook()

bRook::bRook ( piece_t p)
inlineexplicit

Definition at line 443 of file piece.h.

Referenced by bBlackRook::bBlackRook(), and bWhiteRook::bWhiteRook().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ~bRook()

bRook::~bRook ( )
inlineoverride

Definition at line 446 of file piece.h.