implement frame for list of player who need to show their cards at the end of the hand

This commit is contained in:
floty
2010-07-15 22:37:46 +00:00
parent e2cef18b57
commit 756e92aeab
7 changed files with 78 additions and 3 deletions
+19
View File
@@ -118,6 +118,12 @@ ClientBoard::distributePot()
}
void
ClientBoard::determinePlayerNeedToShowCards()
{
}
std::list<unsigned>
ClientBoard::getWinners() const
{
@@ -132,3 +138,16 @@ ClientBoard::setWinners(const std::list<unsigned> &w)
winners = w;
}
std::list<unsigned>
ClientBoard::getPlayerNeedToShowCards() const
{
boost::recursive_mutex::scoped_lock lock(m_syncMutex);
return playerNeedToShowCards;
}
void
ClientBoard::setPlayerNeedToShowCards(const std::list<unsigned> &p)
{
boost::recursive_mutex::scoped_lock lock(m_syncMutex);
playerNeedToShowCards = p;
}