detemine player who need to show their cards at the end of the hand. this version is possibly buggy, because its tested marginal. additionally the lastActionPlayer is determined not correctly so far.
This commit is contained in:
@@ -50,13 +50,13 @@ ClientBeRo::setHighestCardsValue(int theValue)
|
||||
}
|
||||
|
||||
void
|
||||
ClientBeRo::setLastActionPlayer ( int theValue )
|
||||
ClientBeRo::setLastActionPlayer ( unsigned theValue )
|
||||
{
|
||||
boost::recursive_mutex::scoped_lock lock(m_syncMutex);
|
||||
lastActionPlayer = theValue;
|
||||
}
|
||||
|
||||
int
|
||||
unsigned
|
||||
ClientBeRo::getLastActionPlayer() const
|
||||
{
|
||||
boost::recursive_mutex::scoped_lock lock(m_syncMutex);
|
||||
|
||||
@@ -38,8 +38,8 @@ public:
|
||||
int getHighestCardsValue() const;
|
||||
void setHighestCardsValue(int theValue);
|
||||
|
||||
void setLastActionPlayer ( int theValue );
|
||||
int getLastActionPlayer() const;
|
||||
void setLastActionPlayer ( unsigned theValue );
|
||||
unsigned getLastActionPlayer() const;
|
||||
|
||||
void setPlayersTurn(int theValue);
|
||||
int getPlayersTurn() const;
|
||||
|
||||
Reference in New Issue
Block a user