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) { this.Plains = new PlainsBiome(seed, blocks); this.Desert = new DesertBiome(seed, blocks); this.Mountains = new MountainsBiome(seed, blocks); this.Forest = new ForestBiome(seed, blocks); } }