refactoring Bugfix

This commit is contained in:
doitux
2007-08-11 14:36:20 +00:00
parent b18152c0b8
commit 851cce3e45
12 changed files with 182 additions and 104 deletions
+12
View File
@@ -41,6 +41,18 @@ ClientBeRo::setHighestCardsValue(int theValue)
highestCardsValue = theValue;
}
void
ClientBeRo::setLastActionPlayer ( int theValue )
{
lastActionPlayer = theValue;
}
int
ClientBeRo::getLastActionPlayer() const
{
return lastActionPlayer;
}
void
ClientBeRo::setPlayersTurn(int theValue)
{
+5
View File
@@ -30,6 +30,9 @@ public:
int getHighestCardsValue() const;
void setHighestCardsValue(int theValue);
void setLastActionPlayer ( int theValue );
int getLastActionPlayer() const;
void setPlayersTurn(int theValue);
int getPlayersTurn() const;
@@ -64,6 +67,8 @@ private:
bool firstRound;
int smallBlindPosition;
int smallBlind;
int lastActionPlayer;
};
#endif