Content packs structure update
This commit is contained in:
@@ -5,12 +5,13 @@
|
||||
#include <filesystem>
|
||||
|
||||
class Block;
|
||||
class ContentPack;
|
||||
class ContentBuilder;
|
||||
|
||||
class ContentLoader {
|
||||
std::filesystem::path folder;
|
||||
const ContentPack* pack;
|
||||
public:
|
||||
ContentLoader(std::filesystem::path folder);
|
||||
ContentLoader(const ContentPack* pack);
|
||||
|
||||
Block* loadBlock(std::string name, std::filesystem::path file);
|
||||
void load(ContentBuilder* builder);
|
||||
|
||||
Reference in New Issue
Block a user