adds activePlayerList and runningPlayerList (XVI)

This commit is contained in:
doitux
2007-09-26 22:27:05 +00:00
parent f41245f310
commit 4f7d7ee277
6 changed files with 158 additions and 158 deletions
+24
View File
@@ -91,6 +91,30 @@ ClientBeRo::getLastPlayersTurnIt() const
return lastPlayersTurnIt;
}
void
ClientBeRo::setCurrentPlayersTurnId(unsigned theValue)
{
currentPlayersTurnId = theValue;
}
unsigned
ClientBeRo::getCurrentPlayersTurnId() const
{
return currentPlayersTurnId;
}
void
ClientBeRo::setFirstRoundLastPlayersTurnId(unsigned theValue)
{
firstRoundLastPlayersTurnId = theValue;
}
unsigned
ClientBeRo::getFirstRoundLastPlayersTurnId() const
{
return firstRoundLastPlayersTurnId;
}
void
ClientBeRo::setHighestSet(int theValue)
{
+10
View File
@@ -36,6 +36,12 @@ public:
void setPlayersTurn(int theValue);
int getPlayersTurn() const;
void setCurrentPlayersTurnId(unsigned theValue);
unsigned getCurrentPlayersTurnId() const;
void setFirstRoundLastPlayersTurnId(unsigned theValue);
unsigned getFirstRoundLastPlayersTurnId() const;
void setCurrentPlayersTurnIt(PlayerListIterator theValue);
PlayerListIterator getCurrentPlayersTurnIt() const;
@@ -79,6 +85,10 @@ private:
PlayerListIterator currentPlayersTurnIt; // iterator for runningPlayerList
PlayerListIterator lastPlayersTurnIt; // iterator for runningPlayerList
unsigned currentPlayersTurnId;
unsigned firstRoundLastPlayersTurnId;
int highestSet;
bool firstRound;
int smallBlindPosition;