more polymorphie steps for BeRo

This commit is contained in:
doitux
2007-08-04 11:37:26 +00:00
parent 993465a213
commit 421ca6c62d
7 changed files with 21 additions and 3 deletions
+2
View File
@@ -171,6 +171,8 @@ LocalHand::LocalHand(boost::shared_ptr<EngineFactory> f, GuiInterface *g, BoardI
myFlop = myFactory->createFlop(this, myID, actualQuantityPlayers, dealerPosition, smallBlind);
myTurn = myFactory->createTurn(this, myID, actualQuantityPlayers, dealerPosition, smallBlind);
myRiver = myFactory->createRiver(this, myID, actualQuantityPlayers, dealerPosition, smallBlind);
myBeRo = myFactory->createBeRo();
}
+2
View File
@@ -29,6 +29,7 @@
#include <flopinterface.h>
#include <turninterface.h>
#include <riverinterface.h>
#include <berointerface.h>
class LocalHand : public HandInterface{
@@ -97,6 +98,7 @@ private:
FlopInterface *myFlop;
TurnInterface *myTurn;
RiverInterface *myRiver;
BeRoInterface *myBeRo;
int myID;
int actualQuantityPlayers;