minimum raise setting (I)
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
#include "clientbero.h"
|
||||
|
||||
ClientBeRo::ClientBeRo(HandInterface* hi, int id, int qP, int dP, int sB, GameState gS)
|
||||
: BeRoInterface(), myHand(hi), highestCardsValue(0), myBeRoID(gS), smallBlindPosition(0), smallBlind(sB), highestSet(0), firstRound(1), playersTurn(dP)
|
||||
: BeRoInterface(), myHand(hi), highestCardsValue(0), myBeRoID(gS), smallBlindPosition(0), smallBlind(sB), highestSet(0), firstRound(1), playersTurn(dP), minimumRaise(0)
|
||||
{
|
||||
}
|
||||
|
||||
@@ -123,6 +123,19 @@ ClientBeRo::getSmallBlind() const
|
||||
return smallBlind;
|
||||
}
|
||||
|
||||
void
|
||||
ClientBeRo::setMinimumRaise ( int theValue )
|
||||
{
|
||||
minimumRaise = theValue;
|
||||
}
|
||||
|
||||
int
|
||||
ClientBeRo::getMinimumRaise() const
|
||||
{
|
||||
return minimumRaise;
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
ClientBeRo::resetFirstRun()
|
||||
{
|
||||
|
||||
@@ -48,6 +48,10 @@ public:
|
||||
void setSmallBlind(int theValue);
|
||||
int getSmallBlind() const;
|
||||
|
||||
void setMinimumRaise ( int theValue );
|
||||
int getMinimumRaise() const;
|
||||
|
||||
|
||||
void resetFirstRun();
|
||||
|
||||
void nextPlayer();
|
||||
@@ -70,6 +74,8 @@ private:
|
||||
int smallBlindPosition;
|
||||
int smallBlind;
|
||||
|
||||
int minimumRaise;
|
||||
|
||||
int lastActionPlayer;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user