more polymorphie steps for BeRo - local game --> unstable
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
//
|
||||
#include "clientberofactory.h"
|
||||
|
||||
ClientBeRoFactory::ClientBeRoFactory(HandInterface* hi)
|
||||
ClientBeRoFactory::ClientBeRoFactory(HandInterface* hi, int id, int aP, int dP, int sB)
|
||||
: BeRoFactoryInterface()
|
||||
{
|
||||
}
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
class ClientBeRoFactory : public BeRoFactoryInterface
|
||||
{
|
||||
public:
|
||||
ClientBeRoFactory(HandInterface* hi);
|
||||
ClientBeRoFactory(HandInterface* hi, int id, int aP, int dP, int sB);
|
||||
|
||||
~ClientBeRoFactory();
|
||||
|
||||
|
||||
@@ -25,7 +25,6 @@
|
||||
#include "clientflop.h"
|
||||
#include "clientturn.h"
|
||||
#include "clientriver.h"
|
||||
#include "clientbero.h"
|
||||
#include "clientberofactory.h"
|
||||
|
||||
|
||||
@@ -75,12 +74,7 @@ RiverInterface* ClientEngineFactory::createRiver(HandInterface* hi, int id, int
|
||||
return new ClientRiver(hi, id, aP, dP, sB);
|
||||
}
|
||||
|
||||
// BeRoInterface* ClientEngineFactory::createBeRo()
|
||||
// {
|
||||
// return new ClientBeRo();
|
||||
// }
|
||||
|
||||
BeRoFactoryInterface* ClientEngineFactory::createBeRoFactory(HandInterface* hi)
|
||||
BeRoFactoryInterface* ClientEngineFactory::createBeRoFactory(HandInterface* hi, int id, int aP, int dP, int sB)
|
||||
{
|
||||
return new ClientBeRoFactory(hi);
|
||||
return new ClientBeRoFactory(hi, id, aP, dP, sB);
|
||||
}
|
||||
|
||||
@@ -28,7 +28,6 @@
|
||||
#include <flopinterface.h>
|
||||
#include <turninterface.h>
|
||||
#include <riverinterface.h>
|
||||
// #include <berointerface.h>
|
||||
#include <berofactoryinterface.h>
|
||||
|
||||
|
||||
@@ -47,8 +46,7 @@ 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);
|
||||
// BeRoInterface* createBeRo();
|
||||
BeRoFactoryInterface* createBeRoFactory(HandInterface* hi);
|
||||
BeRoFactoryInterface* createBeRoFactory(HandInterface* hi, int id, int aP, int dP, int sB);
|
||||
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user