mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 11:01:49 +00:00
Added class Level for runtime world stuff
This commit is contained in:
parent
4ceba017c7
commit
e8ca11894d
9 changed files with 81 additions and 35 deletions
|
|
@ -4,7 +4,7 @@
|
|||
#include "../voxels/Chunk.h"
|
||||
#include "../voxels/Chunks.h"
|
||||
|
||||
World::World(std::string name, std::string directory, Chunks* chunks) : name(name), chunks(chunks) {
|
||||
World::World(std::string name, std::string directory) : name(name) {
|
||||
wfile = new WorldFiles(directory, REGION_VOL * (CHUNK_VOL * 2 + 8));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue