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