BeRo refactoring
This commit is contained in:
@@ -30,84 +30,84 @@ ClientBeRo::getMyBeRoID() const
|
||||
int
|
||||
ClientBeRo::getHighestCardsValue() const
|
||||
{
|
||||
boost::recursive_mutex::scoped_lock lock(m_syncMutex);
|
||||
boost::recursive_mutex::scoped_lock lock(m_syncMutex);
|
||||
return highestCardsValue;
|
||||
}
|
||||
|
||||
void
|
||||
ClientBeRo::setHighestCardsValue(int theValue)
|
||||
{
|
||||
boost::recursive_mutex::scoped_lock lock(m_syncMutex);
|
||||
boost::recursive_mutex::scoped_lock lock(m_syncMutex);
|
||||
highestCardsValue = theValue;
|
||||
}
|
||||
|
||||
void
|
||||
ClientBeRo::setPlayersTurn(int theValue)
|
||||
{
|
||||
boost::recursive_mutex::scoped_lock lock(m_syncMutex);
|
||||
boost::recursive_mutex::scoped_lock lock(m_syncMutex);
|
||||
playersTurn = theValue;
|
||||
}
|
||||
|
||||
int
|
||||
ClientBeRo::getPlayersTurn() const
|
||||
{
|
||||
boost::recursive_mutex::scoped_lock lock(m_syncMutex);
|
||||
boost::recursive_mutex::scoped_lock lock(m_syncMutex);
|
||||
return playersTurn;
|
||||
}
|
||||
|
||||
void
|
||||
ClientBeRo::setHighestSet(int theValue)
|
||||
{
|
||||
boost::recursive_mutex::scoped_lock lock(m_syncMutex);
|
||||
boost::recursive_mutex::scoped_lock lock(m_syncMutex);
|
||||
highestSet = theValue;
|
||||
}
|
||||
|
||||
int
|
||||
ClientBeRo::getHighestSet() const
|
||||
{
|
||||
boost::recursive_mutex::scoped_lock lock(m_syncMutex);
|
||||
boost::recursive_mutex::scoped_lock lock(m_syncMutex);
|
||||
return highestSet;
|
||||
}
|
||||
|
||||
void
|
||||
ClientBeRo::setFirstRound(bool theValue)
|
||||
{
|
||||
boost::recursive_mutex::scoped_lock lock(m_syncMutex);
|
||||
boost::recursive_mutex::scoped_lock lock(m_syncMutex);
|
||||
firstRound = theValue;
|
||||
}
|
||||
|
||||
bool
|
||||
ClientBeRo::getFirstRound() const
|
||||
{
|
||||
boost::recursive_mutex::scoped_lock lock(m_syncMutex);
|
||||
boost::recursive_mutex::scoped_lock lock(m_syncMutex);
|
||||
return firstRound;
|
||||
}
|
||||
|
||||
void
|
||||
ClientBeRo::setSmallBlindPosition(int theValue)
|
||||
{
|
||||
boost::recursive_mutex::scoped_lock lock(m_syncMutex);
|
||||
boost::recursive_mutex::scoped_lock lock(m_syncMutex);
|
||||
smallBlindPosition = theValue;
|
||||
}
|
||||
|
||||
int
|
||||
ClientBeRo::getSmallBlindPosition() const
|
||||
{
|
||||
boost::recursive_mutex::scoped_lock lock(m_syncMutex);
|
||||
boost::recursive_mutex::scoped_lock lock(m_syncMutex);
|
||||
return smallBlindPosition;
|
||||
}
|
||||
|
||||
void
|
||||
ClientBeRo::setSmallBlind(int theValue)
|
||||
{
|
||||
boost::recursive_mutex::scoped_lock lock(m_syncMutex);
|
||||
boost::recursive_mutex::scoped_lock lock(m_syncMutex);
|
||||
smallBlind = theValue;
|
||||
}
|
||||
|
||||
int
|
||||
ClientBeRo::getSmallBlind() const
|
||||
{
|
||||
boost::recursive_mutex::scoped_lock lock(m_syncMutex);
|
||||
boost::recursive_mutex::scoped_lock lock(m_syncMutex);
|
||||
return smallBlind;
|
||||
}
|
||||
|
||||
@@ -126,8 +126,3 @@ ClientBeRo::run()
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
ClientBeRo::postRiverRun()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user