adds activePlayerList and runningPlayerList (X) - !!! BROKEN !!! - last stable rev is 866
This commit is contained in:
@@ -67,6 +67,30 @@ ClientBeRo::getPlayersTurn() const
|
||||
return playersTurn;
|
||||
}
|
||||
|
||||
void
|
||||
ClientBeRo::setCurrentPlayersTurnIt(PlayerListIterator theValue)
|
||||
{
|
||||
currentPlayersTurnIt = theValue;
|
||||
}
|
||||
|
||||
PlayerListIterator
|
||||
ClientBeRo::getCurrentPlayersTurnIt() const
|
||||
{
|
||||
return currentPlayersTurnIt;
|
||||
}
|
||||
|
||||
void
|
||||
ClientBeRo::setLastPlayersTurnIt(PlayerListIterator theValue)
|
||||
{
|
||||
lastPlayersTurnIt = theValue;
|
||||
}
|
||||
|
||||
PlayerListIterator
|
||||
ClientBeRo::getLastPlayersTurnIt() const
|
||||
{
|
||||
return lastPlayersTurnIt;
|
||||
}
|
||||
|
||||
void
|
||||
ClientBeRo::setHighestSet(int theValue)
|
||||
{
|
||||
|
||||
@@ -35,6 +35,12 @@ public:
|
||||
|
||||
void setPlayersTurn(int theValue);
|
||||
int getPlayersTurn() const;
|
||||
|
||||
void setCurrentPlayersTurnIt(PlayerListIterator theValue);
|
||||
PlayerListIterator getCurrentPlayersTurnIt() const;
|
||||
|
||||
void setLastPlayersTurnIt(PlayerListIterator theValue);
|
||||
PlayerListIterator getLastPlayersTurnIt() const;
|
||||
|
||||
void setHighestSet(int theValue);
|
||||
int getHighestSet() const;
|
||||
@@ -68,7 +74,11 @@ private:
|
||||
HandInterface *myHand;
|
||||
|
||||
int highestCardsValue;
|
||||
int playersTurn;
|
||||
|
||||
int playersTurn; // TODO -> delete
|
||||
PlayerListIterator currentPlayersTurnIt; // iterator for runningPlayerList
|
||||
PlayerListIterator lastPlayersTurnIt; // iterator for runningPlayerList
|
||||
|
||||
int highestSet;
|
||||
bool firstRound;
|
||||
int smallBlindPosition;
|
||||
|
||||
Reference in New Issue
Block a user