one ConfigFile for all

This commit is contained in:
doitux
2007-05-13 18:17:25 +00:00
parent 60eb04a920
commit e2d394f576
7 changed files with 29 additions and 26 deletions
+6 -1
View File
@@ -30,10 +30,12 @@
#include "localturn.h"
#include "localriver.h"
#include "configfile.h"
class LocalEngineFactory : public EngineFactory
{
public:
LocalEngineFactory();
LocalEngineFactory(ConfigFile*);
~LocalEngineFactory();
@@ -44,6 +46,9 @@ public:
FlopInterface* createFlop(HandInterface* hi, int id, int aP, int dP, int sB);
TurnInterface* createTurn(HandInterface* hi, int id, int aP, int dP, int sB);
RiverInterface* createRiver(HandInterface* hi, int id, int aP, int dP, int sB);
private:
ConfigFile *myConfig;
};
#endif