actual -> current ;)
This commit is contained in:
@@ -67,7 +67,7 @@ public:
|
||||
void setMyAction(int theValue, bool blind = 0) {
|
||||
myAction = theValue;
|
||||
// logging for human player
|
||||
if(myAction && !blind) actualHand->getGuiInterface()->logPlayerActionMsg(myName, myAction, mySet);
|
||||
if(myAction && !blind) currentHand->getGuiInterface()->logPlayerActionMsg(myName, myAction, mySet);
|
||||
}
|
||||
int getMyAction() const { return myAction; }
|
||||
|
||||
@@ -88,11 +88,11 @@ public:
|
||||
// log flipping cards
|
||||
if(myCardsFlip) {
|
||||
switch(state) {
|
||||
case 1: actualHand->getGuiInterface()->logFlipHoleCardsMsg(myName, myCards[0], myCards[1], myCardsValueInt);
|
||||
case 1: currentHand->getGuiInterface()->logFlipHoleCardsMsg(myName, myCards[0], myCards[1], myCardsValueInt);
|
||||
break;
|
||||
case 2: actualHand->getGuiInterface()->logFlipHoleCardsMsg(myName, myCards[0], myCards[1]);
|
||||
case 2: currentHand->getGuiInterface()->logFlipHoleCardsMsg(myName, myCards[0], myCards[1]);
|
||||
break;
|
||||
case 3: actualHand->getGuiInterface()->logFlipHoleCardsMsg(myName, myCards[0], myCards[1], myCardsValueInt, "has");
|
||||
case 3: currentHand->getGuiInterface()->logFlipHoleCardsMsg(myName, myCards[0], myCards[1], myCardsValueInt, "has");
|
||||
break;
|
||||
default: ;
|
||||
}
|
||||
@@ -143,7 +143,7 @@ public:
|
||||
|
||||
void setMyWinnerState ( bool theValue, int pot ) {
|
||||
if(theValue) myWinnerState = theValue;
|
||||
actualHand->getGuiInterface()->logPlayerWinsMsg(myName, pot, theValue);
|
||||
currentHand->getGuiInterface()->logPlayerWinsMsg(myName, pot, theValue);
|
||||
}
|
||||
bool getMyWinnerState() const { return myWinnerState;}
|
||||
|
||||
@@ -179,8 +179,8 @@ public:
|
||||
private:
|
||||
|
||||
ConfigFile *myConfig;
|
||||
HandInterface *actualHand;
|
||||
BoardInterface *actualBoard;
|
||||
HandInterface *currentHand;
|
||||
BoardInterface *currentBoard;
|
||||
|
||||
CardsValue *myCardsValue;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user