diff --git a/src/engine/enginefactory.h b/src/engine/enginefactory.h index c67ac32a..0ce15106 100644 --- a/src/engine/enginefactory.h +++ b/src/engine/enginefactory.h @@ -20,6 +20,8 @@ #ifndef ENGINEFACTORY_H #define ENGINEFACTORY_H + + class HandInterface; class BoardInterface; class PlayerInterface; diff --git a/src/engine/local_engine/localenginefactory.cpp b/src/engine/local_engine/localenginefactory.cpp index 7e83d890..887cf652 100644 --- a/src/engine/local_engine/localenginefactory.cpp +++ b/src/engine/local_engine/localenginefactory.cpp @@ -20,7 +20,7 @@ #include "localenginefactory.h" #include "localhand.h" -#include "handinterface.h" + #include "localboard.h" #include "boardinterface.h" @@ -41,22 +41,22 @@ LocalEngineFactory::~LocalEngineFactory() HandInterface* LocalEngineFactory::createHand() { - - HandInterface *hi = new LocalHand(); - return hi; +/* + new LocalHand; + return hi;*/ } BoardInterface* LocalEngineFactory::createBoard() { - BoardInterface *bi = new LocalBoard(); - return bi; +// BoardInterface *bi = new LocalBoard(); +// return bi; } PlayerInterface* LocalEngineFactory::createPlayer() { - PlayerInterface *pi = new LocalPlayer(); - return pi; +// PlayerInterface *pi = new LocalPlayer(); +// return pi; }