using VoxelEngine.Core; using VoxelEngine.World.Blocks; using VoxelEngine.World.WorldGen.Biomes; namespace VoxelEngine.World.WorldGen; public sealed class BiomeRegistry { public IBiome Plains { get; } public IBiome Desert { get; } public IBiome Mountains { get; } public IBiome Forest { get; } public BiomeRegistry(int seed, BlockRegistry blocks, Configuration cfg) { this.Plains = new PlainsBiome(seed, blocks, cfg); this.Desert = new DesertBiome(seed, blocks, cfg); this.Mountains = new MountainsBiome(seed, blocks, cfg); this.Forest = new ForestBiome(seed, blocks, cfg); } }