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:
1 parent
53247a007a
commit
7f3e3f6dfd
11 files changed
+63
-32
No files matched your search
@@ -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)
|
||||
{
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user