예제 #1
0
 public Group(string name, VersionConfig config)
 {
     if (String.IsNullOrWhiteSpace(name))
     {
         throw new ArgumentException("Name cannot be an empty or only spaces");
     }
     Name        = name;
     BiomeConfig = new BiomeConfig(config);
 }
예제 #2
0
 public Group(string name, List <string> biomes, BiomeConfig biomeConfig)
 {
     if (String.IsNullOrWhiteSpace(name))
     {
         throw new ArgumentException("Name cannot be an empty or only spaces");
     }
     Name        = name;
     Biomes      = biomes;
     BiomeConfig = biomeConfig;
 }