mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 19:11:50 +00:00
Added generation seed support
This commit is contained in:
parent
37dd882fdb
commit
1038a79b78
11 changed files with 25 additions and 17 deletions
|
|
@ -2,12 +2,12 @@
|
|||
#include "../lighting/Lighting.h"
|
||||
#include "../voxels/ChunksController.h"
|
||||
|
||||
Level::Level(Player* player, Chunks* chunks, PhysicsSolver* physics) :
|
||||
Level::Level(World* world, Player* player, Chunks* chunks, PhysicsSolver* physics) :
|
||||
player(player),
|
||||
chunks(chunks),
|
||||
physics(physics) {
|
||||
lighting = new Lighting(chunks);
|
||||
chunksController = new ChunksController(chunks, lighting);
|
||||
chunksController = new ChunksController(world, chunks, lighting);
|
||||
}
|
||||
|
||||
Level::~Level(){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue