public IEnumerable <IContentPack> GetPacks() { List <IContentPack> packs = new List <IContentPack>(); packs.Add(new ResourcesContentPack()); foreach (string source in Sources) { if (Directory.Exists(source)) { string[] directories = Directory.GetDirectories(source); foreach (string directory in directories) { IContentPack pack = _loader.Load(directory); pack.Init(); packs.Add(pack); } } } return(packs); }