engine 0.4 rev2 (preflop part 1)

This commit is contained in:
floty
2007-03-09 03:53:39 +00:00
parent fd461383da
commit 29b29ec42e
10 changed files with 382 additions and 221 deletions
+3 -3
View File
@@ -84,8 +84,8 @@ public:
void setMyRoundStartCash(const int& theValue) { myRoundStartCash = theValue;}
int getMyRoundStartCash() const { return myRoundStartCash; }
void setMyAverageSets(const int& theValue) { myAverageSets = theValue; }
int getMyAverageSets() const { return myAverageSets; }
void setMyAverageSets(const int& theValue) { myAverageSets[0] = myAverageSets[1]; myAverageSets[1] = myAverageSets[2]; myAverageSets[2] = myAverageSets[3]; myAverageSets[3] = theValue; }
int getMyAverageSets() const { return (myAverageSets[0]+myAverageSets[1]+myAverageSets[2]+myAverageSets[3])/4; }
void action();
@@ -124,7 +124,7 @@ private:
bool myCardsFlip; // 0 = cards are not fliped, 1 = cards are already flipped,
int myRoundStartCash;
int myAverageSets;
int myAverageSets[4];
};