refactoring Bugfix
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user