Beispiel #1
0
 public DungeonMaster()
 {
     //this.gameData = GameFactory.GetInstance().TheData;
     this.gameData = new HardCodedData();
     this.gameClient = GameFactory.GetInstance().TheClient;
     playerTurnHandler = new CommandHandler();
 }
Beispiel #2
0
 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"]);
 }
Beispiel #4
0
 private GameFactory()
 {
     ReadConfigFile();
     theClient = (IMazeClient)DynamicLoad(config["ui_assembly"], config["ui"]);
     //theData = (IMazeData)DynamicLoad(config["data_assembly"], config["data"]);
 }
Beispiel #5
0
 public DungeonMaster(IMazeData gameData, IMazeClient gameClient)
 {
     this.gameData = gameData;
     this.gameClient = gameClient;
     playerTurnHandler = new CommandHandler();
 }