Files
VoxelEngine/src/world/generator/GeneratorDef.cpp
T

12 lines
323 B
C++

#include "GeneratorDef.hpp"
#include "VoxelFragment.hpp"
GeneratingVoxelStructure::GeneratingVoxelStructure(
VoxelStructureMeta meta,
std::unique_ptr<VoxelFragment> structure
) : fragments({std::move(structure)}), meta(std::move(meta)) {}
GeneratorDef::GeneratorDef(std::string name) : name(std::move(name)) {}