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

This commit is contained in:
floty
2014-03-02 00:50:28 +01:00
parent 3cbb365c61
commit 7f3c8a8608
14 changed files with 22 additions and 36 deletions
+2 -3
View File
@@ -45,7 +45,7 @@ class HandInterface;
class LocalBoard : public BoardInterface
{
public:
LocalBoard(unsigned dealerPosition);
LocalBoard();
~LocalBoard();
void setPlayerLists(PlayerList, PlayerList, PlayerList);
@@ -82,7 +82,7 @@ public:
void collectSets() ;
void collectPot() ;
void distributePot();
void distributePot(unsigned dealerPosition);
void determinePlayerNeedToShowCards();
std::list<unsigned> getWinners() const {
@@ -111,7 +111,6 @@ private:
int myCards[5];
int pot;
int sets;
unsigned dealerPosition;
bool allInCondition;
unsigned lastActionPlayerID;