Client engine should now be completely thread safe. const int& -> int. Player CardsValue is now returned as copy, not the array itself.
This commit is contained in:
@@ -25,19 +25,19 @@ class TurnInterface{
|
||||
public:
|
||||
virtual ~TurnInterface();
|
||||
|
||||
virtual void setPlayersTurn(const int& theValue) =0;
|
||||
virtual void setPlayersTurn(int theValue) =0;
|
||||
virtual int getPlayersTurn() const =0;
|
||||
|
||||
virtual void setHighestSet(const int& theValue) =0;
|
||||
virtual void setHighestSet(int theValue) =0;
|
||||
virtual int getHighestSet() const=0;
|
||||
|
||||
virtual void setFirstTurnRound(bool theValue) =0;
|
||||
virtual bool getFirstTurnRound() const =0;
|
||||
|
||||
virtual void setSmallBlindPosition(const int& theValue) =0;
|
||||
virtual void setSmallBlindPosition(int theValue) =0;
|
||||
virtual int getSmallBlindPosition() const =0;
|
||||
|
||||
virtual void setSmallBlind(const int& theValue) =0;
|
||||
virtual void setSmallBlind(int theValue) =0;
|
||||
virtual int getSmallBlind() const =0;
|
||||
|
||||
virtual void resetFirstRun() =0;
|
||||
|
||||
Reference in New Issue
Block a user