Beispiel #1
0
 public static Bioma[] LoadBiomas()
 {
     LoadJson();
     foreach (var bioma in json.biomas)
     {
         RawAttributes.AddAttribute(bioma.specs, bioma.rawSpecs);
     }
     return(json.biomas);
 }
Beispiel #2
0
 public static Plant[] LoadPlants()
 {
     LoadJson();
     foreach (var plant in json.plants)
     {
         RawAttributes.AddAttribute(plant.specs, plant.rawSpecs);
     }
     return(json.plants);
 }