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 -14
View File
@@ -81,12 +81,9 @@ protected:
return myHand;
}
int getDealerPosition() const {
unsigned getDealerPosition() const {
return dealerPosition;
}
void setDealerPosition(int theValue) {
dealerPosition = theValue;
}
void setCurrentPlayersTurnId(unsigned theValue) {
currentPlayersTurnId = theValue;
@@ -137,14 +134,6 @@ protected:
return firstRound;
}
void setDealerPositionId(unsigned theValue) {
dealerPositionId = theValue;
}
unsigned getDealerPositionId() const {
return dealerPositionId;
}
void setSmallBlindPositionId(unsigned theValue) {
smallBlindPositionId = theValue;
}
@@ -182,10 +171,9 @@ private:
HandInterface* myHand;
const GameState myBeRoID;
int dealerPosition;
unsigned dealerPosition;
int smallBlindPosition;
unsigned dealerPositionId;
unsigned smallBlindPositionId;
unsigned bigBlindPositionId;