Should be working to play up to river.
This commit is contained in:
@@ -47,12 +47,20 @@ ClientBoard::setHand(HandInterface* br)
|
||||
|
||||
void
|
||||
ClientBoard::collectSets()
|
||||
{
|
||||
}
|
||||
|
||||
{
|
||||
sets = 0;
|
||||
int i;
|
||||
for(i=0; i<MAX_NUMBER_OF_PLAYERS; i++) sets += playerArray[i]->getMySet();
|
||||
|
||||
}
|
||||
|
||||
void
|
||||
ClientBoard::collectPot()
|
||||
{
|
||||
}
|
||||
int i;
|
||||
pot += sets;
|
||||
sets = 0;
|
||||
for(i=0; i<MAX_NUMBER_OF_PLAYERS; i++){ playerArray[i]->setMySetNull(); }
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -58,7 +58,7 @@ public:
|
||||
|
||||
void setMySet(int theValue) { myLastRelativeSet = theValue; mySet += theValue; myCash -= theValue; }
|
||||
void setMySetAbsolute(int theValue) { mySet = theValue; }
|
||||
void setMySetNull() { mySet = 0; }
|
||||
void setMySetNull() { mySet = 0; myLastRelativeSet = 0; }
|
||||
int getMySet() const { return mySet;}
|
||||
int getMyLastRelativeSet() const { return myLastRelativeSet; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user