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

This commit is contained in:
floty committed 2010-07-15 22:37:46 +00:00
1 parent e2cef18b57
commit 756e92aeab
7 files changed
+78 -3

No files matched your search

+5
View File
@@ -49,10 +49,14 @@ public:
void collectPot();
void distributePot();
void determinePlayerNeedToShowCards();
std::list<unsigned> getWinners() const;
void setWinners(const std::list<unsigned> &winners);
std::list<unsigned> getPlayerNeedToShowCards() const;
void setPlayerNeedToShowCards(const std::list<unsigned> &playerNeedToShowCards);
private:
mutable boost::recursive_mutex m_syncMutex;
@@ -63,6 +67,7 @@ private:
HandInterface *currentHand;
std::list<unsigned> winners;
std::list<unsigned> playerNeedToShowCards;
int myCards[5];
int pot;