protected override void Initialize() { info = Common.ContentManager.Load <LevelManagerInfo>(levelManagerInfoFilepath); levelFilepaths = info.Levels; base.Initialize(); }
protected override void Initialize() { info = XmlHelper.DeserializeContent <LevelManagerInfo>(levelManagerInfoFilepath); for (int i = 0; i < info.LevelName.Length; i++) { levelFilepaths.Add(info.LevelName[i], info.LevelFilepaths[i]); } base.Initialize(); }