establishing new parameter roundBeforePostRiver; deleting needless parameter bettingRoundsPlayed

This commit is contained in:
floty
2011-11-13 16:00:19 +00:00
parent 2678bd9101
commit d38bd0fef0
7 changed files with 27 additions and 154 deletions
+4 -10
View File
@@ -94,6 +94,9 @@ public:
GameState getCurrentRound() const {
return currentRound;
}
GameState getRoundBeforePostRiver() const {
return roundBeforePostRiver;
}
void setDealerPosition(int theValue) {
dealerPosition = theValue;
@@ -123,13 +126,6 @@ public:
return startCash;
}
void setBettingRoundsPlayed(int theValue) {
bettingRoundsPlayed = theValue;
}
int getBettingRoundsPlayed() const {
return bettingRoundsPlayed;
}
void setPreviousPlayerID(int theValue) {
previousPlayerID = theValue;
}
@@ -178,6 +174,7 @@ private:
unsigned smallBlindPosition;
unsigned bigBlindPosition;
GameState currentRound;
GameState roundBeforePostRiver;
int smallBlind;
int startCash;
@@ -186,9 +183,6 @@ private:
bool allInCondition;
bool cardsShown;
// hier steht bis zu welcher bettingRound der human player gespielt hat: 0 - nur Preflop, 1 - bis Flop, ...
int bettingRoundsPlayed;
};
#endif