logging playerAction in engine now

This commit is contained in:
doitux committed 2007-05-26 12:40:45 +00:00
1 parent c5e34fe186
commit 9c2d3a9723
5 files changed
+47 -24

No files matched your search

+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; }