示例#1
0
 void GenBiome(TerrainGen gen)
 {
     if (biomeType == 0)
         gen.Caves ();
     else if (biomeType == 1)
         gen.Forest ();
     else if (biomeType == 2)
         gen.Mountains ();
     else if (biomeType == 3)
         gen.MountainCaves ();
     else if (biomeType == 4)
         gen.Desert ();
     else if (biomeType == 5)
         gen.MountainsDesert ();
     else if (biomeType == 6)
         gen.Plain ();
 }