Beispiel #1
0
 public void Purge(IOutputGenerator outGen, bool main = true, bool draft = true)
 {
     foreach (TerrainTile tile in tiles.Tiles())
     {
         if (tile.main?.data != null)
         {
             outGen.Purge(tile.main.data, tile.main.terrain);
         }
         if (tile.draft?.data != null)
         {
             outGen.Purge(tile.draft.data, tile.draft.terrain);
         }
     }
 }