示例#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));
     }
 }
示例#2
0
文件: Area.cs 项目: Etabli/DA-GAME
 /// <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);
 }