delete some bug for determining the list of player who have to show their cards. additionally the lastActionPlayer is now determined correctly (especially in every betting roud)

This commit is contained in:
floty
2010-07-22 21:17:22 +00:00
parent 53247a007a
commit 7f3e3f6dfd
11 changed files with 63 additions and 32 deletions
+12
View File
@@ -296,6 +296,18 @@ ClientHand::getLastPlayersTurn() const
return lastPlayersTurn;
}
void
ClientHand::setLastActionPlayer (unsigned theValue)
{
lastActionPlayer = theValue;
}
unsigned
ClientHand::getLastActionPlayer() const
{
return lastActionPlayer;
}
void
ClientHand::setCardsShown(bool theValue)
{
+4
View File
@@ -83,6 +83,9 @@ class ClientHand : public HandInterface
void setLastPlayersTurn ( int theValue );
int getLastPlayersTurn() const;
void setLastActionPlayer ( unsigned theValue );
unsigned getLastActionPlayer() const;
void setCardsShown ( bool theValue );
bool getCardsShown() const;
@@ -110,6 +113,7 @@ class ClientHand : public HandInterface
int startCash;
int lastPlayersTurn;
unsigned lastActionPlayer;
bool allInCondition;
bool cardsShown;