Exemplo n.º 1
0
 /// <summary>
 /// Saves all biomes to the disk
 /// </summary>
 public static void SaveAllBiomeInfoToDisk()
 {
     foreach (BiomeType type in System.Enum.GetValues(typeof(BiomeType)))
     {
         SaveBiomeInfoToDisk(BiomeInfo.GetBiomeInfo(type));
     }
 }
Exemplo n.º 2
0
 /// <summary>
 /// Generates a biome for this area
 /// </summary>
 /// <param name="type">the type of biome</param>
 public void GenerateBiomeForArea(BiomeType type)
 {
     AreaBiome = new Biome(BiomeInfo.GetBiomeInfo(type), Tier);
 }