public static void FillListRecursive(string dirPath, List <ILevel> list, string excludeFilename = null, string includeOnlyFilename = null) { DirectoryInfo dir = new DirectoryInfo(dirPath); LevelHelpers.FromFolder(dir.FullName, list, excludeFilename, includeOnlyFilename); foreach (var childDir in dir.EnumerateDirectories()) { FillListRecursive(childDir.FullName, list, excludeFilename, includeOnlyFilename); } }
public static List <ILevel> EasyGallery4() { return(LevelHelpers.FromFolder(@"LevelImages\EasyGallery4\")); }
public static List <ILevel> Bonus2Gallery3() { return(LevelHelpers.FromFolder(@"LevelImages\Bonus2Gallery3\")); }
public static List <ILevel> ExpertGallery2() { return(LevelHelpers.FromFolder(@"LevelImages\ExpertGallery2\")); }
public static List <ILevel> HardGallery1() { return(LevelHelpers.FromFolder(@"LevelImages\HardGallery1\")); }
public static List <ILevel> MediumGallery3() { return(LevelHelpers.FromFolder(@"LevelImages\MediumGallery3\")); }