public void ToManifest(System.IO.StreamWriter w) { if (terrainGenerator is Multiverse.Lib.HeightfieldGenerator.HeightfieldTerrainGenerator) { Multiverse.Lib.HeightfieldGenerator.HeightfieldTerrainGenerator tmpGen = terrainGenerator as Multiverse.Lib.HeightfieldGenerator.HeightfieldTerrainGenerator; w.WriteLine("Mosaic:{0}", tmpGen.HeightfieldName); } terrainDisplay.ToManifest(w); }