Ejemplo n.º 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);
 }
Ejemplo n.º 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;
 }