示例#1
0
 public AdventureGame()
 {
     _players        = new List <AdventurePlayer>();
     _commandHandler = new CommandHandler(this);
     Dungeon         = new Dungeon(this, new ColossalCave());
     MonsterManagers.Add(new DwarfManager(Dungeon.Locations));
     MonsterManagers.Add(new PirateManager(Dungeon.Locations));
 }
示例#2
0
 public AdventureGame(IDungeon dungeon)
 {
     _players        = new List <AdventurePlayer>();
     _commandHandler = new CommandHandler(this);
     Dungeon         = dungeon;
 }
示例#3
0
 public AdventureGame()
 {
     _players        = new List <AdventurePlayer>();
     _commandHandler = new CommandHandler(this);
     Dungeon         = new Dungeon(this, new ColossalCave());
 }