Esempio 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;
 }
Esempio n. 2
0
 public Game(string level)
 {
     Map = CreatureMapCreator.CreateMap(level.StartsWith("Level")
         ? LevelCreator.GetLevel(level)
         : LevelTestsCreator.GetLevel(level));
 }