feat(world-gen): integrate CaveCarver into WorldGenerator.Generate
This commit is contained in:
@@ -55,7 +55,7 @@ public sealed class Game : GameWindow
|
||||
this._world = new World.World(this._registry, this._modStore);
|
||||
|
||||
int seed = this._cfg.Seed ?? new Random().Next();
|
||||
this._generator = new WorldGenerator(seed, this._registry);
|
||||
this._generator = new WorldGenerator(seed, this._registry, this._cfg);
|
||||
|
||||
// Spawn at terrain surface above (0, 0).
|
||||
int surfaceY = this._generator.SurfaceHeightAt(0, 0);
|
||||
|
||||
Reference in New Issue
Block a user