Client engine factory needs to be free of configuration file (configuration provided by server). Separated specific start data from general game data. Sending client game object to GUI after creation. Client thread now manages player and game data.
This commit is contained in:
+4
-1
@@ -33,11 +33,14 @@ class PlayerInterface;
|
||||
class BoardInterface;
|
||||
class EngineFactory;
|
||||
struct GameData;
|
||||
struct StartData;
|
||||
|
||||
class Game {
|
||||
|
||||
public:
|
||||
Game(GuiInterface *gui, boost::shared_ptr<EngineFactory> factory, const PlayerDataList &playerDataList, const GameData &gameData, int gameId);
|
||||
Game(GuiInterface *gui, boost::shared_ptr<EngineFactory> factory,
|
||||
const PlayerDataList &playerDataList, const GameData &gameData,
|
||||
const StartData &startData, int gameId);
|
||||
|
||||
~Game();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user