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