feat: add WorldConstants, SurfacePalette and IBiome contract
This commit is contained in:
7
World/WorldGen/SurfacePalette.cs
Normal file
7
World/WorldGen/SurfacePalette.cs
Normal file
@@ -0,0 +1,7 @@
|
||||
using VoxelEngine.World.Blocks;
|
||||
|
||||
namespace VoxelEngine.World.WorldGen;
|
||||
|
||||
// Surface block layering for a biome: the top block, the filler band below it,
|
||||
// and the deep "under" block (stone). Filler depth is fixed at 3 blocks.
|
||||
public readonly record struct SurfacePalette(IBlock Top, IBlock Filler, IBlock Under);
|
||||
Reference in New Issue
Block a user