This commit is contained in:
doitux
2007-02-28 20:51:43 +00:00
parent 55cb71508b
commit eae5f68f89
14 changed files with 50 additions and 17 deletions
+4 -1
View File
@@ -74,8 +74,11 @@ LocalHand::LocalHand(EngineFactory *f, GuiInterface *g, BoardInterface *b, Playe
// Karten austeilen
myGui->dealHoleCards();
// myFlipCards auf 0 setzen
for(i=0; i<actualQuantityPlayers; i++) {
playerArray[i]->setMyCardsFlip(0);
}
// Preflop, Flop, Turn und River erstellen
myPreflop = myFactory->createPreflop(this, myID, actualQuantityPlayers, dealerPosition, smallBlind);
+4 -4
View File
@@ -71,6 +71,9 @@ public:
void setMyTurn(bool theValue){ myTurn = theValue;}
bool getMyTurn() const{ return myTurn;}
void setMyCardsFlip(bool theValue){ myCardsFlip = theValue;}
bool getMyCardsFlip() const{ return myCardsFlip;}
void setMyCardsValueInt(const int& theValue) { myCardsValueInt = theValue;}
int getMyCardsValueInt() const { return myCardsValueInt; }
@@ -88,10 +91,6 @@ public:
void flopEngine();
void turnEngine();
void riverEngine();
private:
@@ -116,6 +115,7 @@ private:
int myButton; // 0 = none, 1 = dealer, 2 =small, 3 = big
bool myActiveStatus; // 0 = inactive, 1 = active
bool myTurn; // 0 = no, 1 = yes
bool myCardsFlip; // 0 = cards are not fliped, 1 = cards are already flipped,
int myRoundStartCash;
int myAverageSets;
+3
View File
@@ -60,6 +60,9 @@ public:
virtual void setMyTurn(bool theValue) =0;
virtual bool getMyTurn() const =0;
virtual void setMyCardsFlip(bool theValue) =0;
virtual bool getMyCardsFlip() const =0;
virtual void setMyCardsValueInt(const int& theValue) =0;
virtual int getMyCardsValueInt() const =0;