logging playerAction in engine now

This commit is contained in:
doitux
2007-05-26 12:40:45 +00:00
parent c5e34fe186
commit 9c2d3a9723
5 changed files with 47 additions and 24 deletions
+5 -1
View File
@@ -64,7 +64,11 @@ public:
int getMySet() const { return mySet;}
int getMyLastRelativeSet() const { return myLastRelativeSet; }
void setMyAction(int theValue) { myAction = theValue; }
void setMyAction(int theValue) {
myAction = theValue;
// logging for human player
if(myAction) actualHand->getGuiInterface()->logPlayerActionMsg(myName, myAction, mySet);
}
int getMyAction() const { return myAction; }
void setMyButton(int theValue) { myButton = theValue; }