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:
lotodore
2007-06-11 17:48:22 +00:00
parent dfffa16565
commit 07dc39d107
30 changed files with 1128 additions and 225 deletions
+4 -4
View File
@@ -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;