adds activePlayerList and runningPlayerList (XVI)
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user