/// <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)); } }
/// <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); }