/// <summary>
        /// Decompiles an array of compiled biomes and returns their compiled variants
        /// </summary>
        /// <param name="biomes">An array containing compiled biomes to be decompiled</param>
        /// <returns>An array containing the decompiled variants of the biomes, in the same order</returns>
        public static Decompiled.Biome[] Decompile(Compiled.Biome[] biomes)
        {
            Decompiled.Biome[] converted = new Decompiled.Biome[biomes.Length];
            for (int i = 0; i < biomes.Length; i++)
            {
                Compiled.Biome b = biomes[i];
                converted[i] = new Decompiled.Biome()
                {
                    Color    = biomes[i].Color,
                    Topology = new Decompiled.Biome.TopologyInfo()
                    {
                        Amplitude = b.Topology.Amplitude,
                        Frequency = b.Topology.Frequency,
                        MinHeight = b.Topology.Amplitude
                    },
                    Humidity = new Decompiled.Biome.BoundaryInfo()
                    {
                        Min = b.boundary.Left,
                        Max = b.boundary.Right
                    },
                    Temperature = new Decompiled.Biome.BoundaryInfo()
                    {
                        Min = b.boundary.Top,
                        Max = b.boundary.Bottom
                    }
                };
            }

            return(converted);
        }
        /// <summary>
        /// Compiles an array of decompiled biomes and returns their compiled variants
        /// </summary>
        /// <param name="biomes">An array containing decompiled biomes to be compiled</param>
        /// <returns>An array containing the compiled variants of the biomes, in the same order</returns>
        public static Compiled.Biome[] Compile(Decompiled.Biome[] biomes)
        {
            Compiled.Biome[] converted = new Compiled.Biome[biomes.Length];
            for (int i = 0; i < biomes.Length; i++)
            {
                Decompiled.Biome b = biomes[i];
                converted[i] = new Compiled.Biome()
                {
                    Color    = biomes[i].Color,
                    Topology = new Compiled.Biome.TopologyInfo()
                    {
                        Amplitude = b.Topology.Amplitude,
                        Frequency = b.Topology.Frequency,
                        MinHeight = b.Topology.Amplitude
                    },
                    boundary = new Box2(b.Humidity.Min, b.Temperature.Min, b.Humidity.Max, b.Temperature.Max)
                };
            }

            return(converted);
        }