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:
@@ -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