Exemplo n.º 1
0
 public Game(string level, int ammo, bool haveKey)
 {
     Map = CreatureMapCreator.CreateMap(level.StartsWith("Level")
         ? LevelCreator.GetLevel(level)
         : LevelTestsCreator.GetLevel(level));
     Ammo    = ammo;
     HaveKey = haveKey;
 }
Exemplo n.º 2
0
 public Game(string level)
 {
     Map = CreatureMapCreator.CreateMap(level.StartsWith("Level")
         ? LevelCreator.GetLevel(level)
         : LevelTestsCreator.GetLevel(level));
 }