refactor & add structures.json
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
#include "GeneratorDef.hpp"
|
||||
|
||||
#include "VoxelFragment.hpp"
|
||||
|
||||
GeneratingVoxelStructure::GeneratingVoxelStructure(
|
||||
VoxelStructureMeta meta,
|
||||
std::unique_ptr<VoxelFragment> structure
|
||||
) : structure(std::move(structure)), meta(std::move(meta)) {}
|
||||
|
||||
|
||||
GeneratorDef::GeneratorDef(std::string name) : name(std::move(name)) {}
|
||||
Reference in New Issue
Block a user