From 28fd70f7e6febb7e9adc1b6ffac49ebbf6f610ce Mon Sep 17 00:00:00 2001 From: doitux Date: Sat, 13 Jan 2007 19:47:51 +0000 Subject: [PATCH] --- src/engine/enginefactory.h | 2 ++ src/engine/local_engine/localenginefactory.cpp | 16 ++++++++-------- 2 files changed, 10 insertions(+), 8 deletions(-) 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; }