public LevelPack(LevelParser.LevelPackSer levelPackSer) { PackInfo = levelPackSer.Info; Levels = levelPackSer.Levels .Select((levelSer, i) => new Level(levelSer, i)) .ToList(); CurrentLevelNum = levelPackSer.CurrentLevel; }
public LevelPack(LevelParser.LevelPackSer levelPackSer) { PackInfo = levelPackSer.Info; CurrentLanguage = levelPackSer.CurrentLanguage; Levels = levelPackSer.Levels .Select((levelSer, i) => new Level(levelSer, i)) .ToList(); CurrentLevelNum = levelPackSer.CurrentLevel; Localization = levelPackSer.Localization; }