This commit is contained in:
doitux
2007-01-14 12:15:45 +00:00
parent 31c4c0dde9
commit 514eb3c958
21 changed files with 141 additions and 81 deletions
+11 -7
View File
@@ -28,13 +28,13 @@
#include "turninterface.h"
#include "riverinterface.h"
class HandInterface;
class BoardInterface;
class PlayerInterface;
class PreflopInterface;
class FlopInterface;
class TurnInterface;
class RiverInterface;
// class HandInterface;
// class BoardInterface;
// class PlayerInterface;
// class PreflopInterface;
// class FlopInterface;
// class TurnInterface;
// class RiverInterface;
class EngineFactory{
public:
@@ -44,6 +44,10 @@ public:
virtual HandInterface* createHand(GuiInterface *g, BoardInterface *b, PlayerInterface **p, int id, int qP, int dP, int sB,int sC) =0;
virtual BoardInterface* createBoard() =0;
virtual PlayerInterface* createPlayer(BoardInterface *b, int id, int sC, bool aS, int mB) =0;
virtual PreflopInterface* createPreflop(HandInterface* hi, int id, int qP, int dP, int sB) =0;
virtual FlopInterface* createFlop(HandInterface* hi, int id, int qP, int dP, int sB) =0;
virtual TurnInterface* createTurn(HandInterface* hi, int id, int qP, int dP, int sB) =0;
virtual RiverInterface* createRiver(HandInterface* hi, int id, int qP, int dP, int sB) =0;
};