public DungeonMaster() { //this.gameData = GameFactory.GetInstance().TheData; this.gameData = new HardCodedData(); this.gameClient = GameFactory.GetInstance().TheClient; playerTurnHandler = new CommandHandler(); }
public DungeonMaster() { this.gameData = GameFactory.GetInstance().TheData; this.gameClient = GameFactory.GetInstance().TheClient; playerTurnHandler = new CommandHandler(); }
private GameFactory() { ReadConfigFile(); theClient = (IMazeClient)DynamicLoad(config["ui_assembly"], config["ui"]); theData = (IMazeData)DynamicLoad(config["data_assembly"], config["data"]); }
private GameFactory() { ReadConfigFile(); theClient = (IMazeClient)DynamicLoad(config["ui_assembly"], config["ui"]); //theData = (IMazeData)DynamicLoad(config["data_assembly"], config["data"]); }
public DungeonMaster(IMazeData gameData, IMazeClient gameClient) { this.gameData = gameData; this.gameClient = gameClient; playerTurnHandler = new CommandHandler(); }