Esempio n. 1
0
        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);
            }
        }
Esempio n. 2
0
 public static List <ILevel> EasyGallery4()
 {
     return(LevelHelpers.FromFolder(@"LevelImages\EasyGallery4\"));
 }
Esempio n. 3
0
 public static List <ILevel> Bonus2Gallery3()
 {
     return(LevelHelpers.FromFolder(@"LevelImages\Bonus2Gallery3\"));
 }
Esempio n. 4
0
 public static List <ILevel> ExpertGallery2()
 {
     return(LevelHelpers.FromFolder(@"LevelImages\ExpertGallery2\"));
 }
Esempio n. 5
0
 public static List <ILevel> HardGallery1()
 {
     return(LevelHelpers.FromFolder(@"LevelImages\HardGallery1\"));
 }
Esempio n. 6
0
 public static List <ILevel> MediumGallery3()
 {
     return(LevelHelpers.FromFolder(@"LevelImages\MediumGallery3\"));
 }