This commit is contained in:
@@ -20,6 +20,8 @@
|
|||||||
#ifndef ENGINEFACTORY_H
|
#ifndef ENGINEFACTORY_H
|
||||||
#define ENGINEFACTORY_H
|
#define ENGINEFACTORY_H
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
class HandInterface;
|
class HandInterface;
|
||||||
class BoardInterface;
|
class BoardInterface;
|
||||||
class PlayerInterface;
|
class PlayerInterface;
|
||||||
|
|||||||
@@ -20,7 +20,7 @@
|
|||||||
#include "localenginefactory.h"
|
#include "localenginefactory.h"
|
||||||
|
|
||||||
#include "localhand.h"
|
#include "localhand.h"
|
||||||
#include "handinterface.h"
|
|
||||||
|
|
||||||
#include "localboard.h"
|
#include "localboard.h"
|
||||||
#include "boardinterface.h"
|
#include "boardinterface.h"
|
||||||
@@ -41,22 +41,22 @@ LocalEngineFactory::~LocalEngineFactory()
|
|||||||
|
|
||||||
|
|
||||||
HandInterface* LocalEngineFactory::createHand() {
|
HandInterface* LocalEngineFactory::createHand() {
|
||||||
|
/*
|
||||||
HandInterface *hi = new LocalHand();
|
new LocalHand;
|
||||||
return hi;
|
return hi;*/
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
BoardInterface* LocalEngineFactory::createBoard() {
|
BoardInterface* LocalEngineFactory::createBoard() {
|
||||||
|
|
||||||
BoardInterface *bi = new LocalBoard();
|
// BoardInterface *bi = new LocalBoard();
|
||||||
return bi;
|
// return bi;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
PlayerInterface* LocalEngineFactory::createPlayer() {
|
PlayerInterface* LocalEngineFactory::createPlayer() {
|
||||||
|
|
||||||
PlayerInterface *pi = new LocalPlayer();
|
// PlayerInterface *pi = new LocalPlayer();
|
||||||
return pi;
|
// return pi;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user