adds activePlayerList and runningPlayerList (X) - !!! BROKEN !!! - last stable rev is 866

This commit is contained in:
doitux
2007-09-25 18:00:05 +00:00
parent af5b7f45dd
commit bcc5966a68
11 changed files with 281 additions and 103 deletions
+24
View File
@@ -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)
{
+11 -1
View File
@@ -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;