bugfix for #275: remove dealerPosition from constructor of localBoard and transmit when it's needed

This commit is contained in:
floty committed 2014-03-02 00:50:28 +01:00
1 parent 3cbb365c61
commit 7f3c8a8608
14 files changed
+22 -36

No files matched your search

+2 -3
View File
@@ -44,7 +44,7 @@ class HandInterface;
class ClientBoard : public BoardInterface
{
public:
ClientBoard(unsigned dealerPosition);
ClientBoard();
~ClientBoard();
void setPlayerLists(PlayerList, PlayerList, PlayerList);
@@ -63,7 +63,7 @@ public:
void collectSets();
void collectPot();
void distributePot();
void distributePot(unsigned);
void determinePlayerNeedToShowCards();
std::list<unsigned> getWinners() const;
@@ -85,7 +85,6 @@ private:
int myCards[5];
int pot;
int sets;
unsigned dealerPosition;
bool allInCondition;
unsigned lastActionPlayerID;
};