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

#include <piece.h>

+ Inheritance diagram for bBishop:
+ Collaboration diagram for bBishop:

Public Member Functions

 bBishop (piece_t p)
 
 ~bBishop () 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 404 of file piece.h.

Constructor & Destructor Documentation

◆ bBishop()

bBishop::bBishop ( piece_t p)
inlineexplicit

Definition at line 406 of file piece.h.

Referenced by bBlackBishop::bBlackBishop(), and bWhiteBishop::bWhiteBishop().

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

◆ ~bBishop()

bBishop::~bBishop ( )
inlineoverride

Definition at line 409 of file piece.h.