more polymorphie steps for BeRo

This commit is contained in:
doitux
2007-08-05 13:07:23 +00:00
parent ce61172ab3
commit b68b8d48dd
29 changed files with 1736 additions and 41 deletions
+6 -1
View File
@@ -173,7 +173,10 @@ LocalHand::LocalHand(boost::shared_ptr<EngineFactory> f, GuiInterface *g, BoardI
myRiver = myFactory->createRiver(this, myID, actualQuantityPlayers, dealerPosition, smallBlind);
myBeRoFactory = myFactory->createBeRoFactory(this, myID, actualQuantityPlayers, dealerPosition, smallBlind);
myBeRo = myBeRoFactory->switchRounds();
int currentRound = actualRound; // for Lothar ;-)
myBeRo = myBeRoFactory->switchRounds(currentRound);
}
@@ -378,6 +381,8 @@ void LocalHand::switchRounds() {
myGui->refreshGameLabels((GameState)getActualRound());
// /*/*/*/*cout <<*/*/*/*/ "NextPlayerSpeed1 stop" << endl;
//
// cout << "NextPlayerSpeed2 start" << endl;
switch(actualRound) {
case 0: {