コード例 #1
0
 protected WorldChunkManager()
 {
     BiomeCache      = new BiomeCache(this);
     BiomesToSpawnIn = new List <BiomeGenBase>();
     BiomesToSpawnIn.Add(BiomeGenBase.Forest);
     BiomesToSpawnIn.Add(BiomeGenBase.Plains);
     BiomesToSpawnIn.Add(BiomeGenBase.Taiga);
     BiomesToSpawnIn.Add(BiomeGenBase.TaigaHills);
     BiomesToSpawnIn.Add(BiomeGenBase.ForestHills);
     BiomesToSpawnIn.Add(BiomeGenBase.Jungle);
     BiomesToSpawnIn.Add(BiomeGenBase.JungleHills);
 }
コード例 #2
0
 /// <summary>
 /// Get the world chunk manager object for a biome list.
 /// </summary>
 public static WorldChunkManager GetChunkManager(BiomeCache par0BiomeCache)
 {
     return(par0BiomeCache.ChunkManager);
 }