feat: add WorldConstants, SurfacePalette and IBiome contract

This commit is contained in:
MDietermann
2026-05-31 21:51:57 +02:00
parent d0707fde9d
commit 294f3b82ef
3 changed files with 34 additions and 0 deletions

View 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);