+ internal void ResetMetadata(int mapSizeY )
+ {
+ if (this.ColumnPresense == null) { this.ColumnPresense = new BitArray((mapSizeY / this.ChunkSize), false); }
+
+ //Start fresh...
+ HeightMap = new ushort[ChunkSize, ChunkSize];
+ RockRatio = new Dictionary<int, uint>(this.RockRatio.Count);
+ AirBlocks = 0;
+ NonAirBlocks = 0;
+ YMax = 0;
+ }
+