21 lines
431 B
C++
21 lines
431 B
C++
#ifndef CONTENT_CONTENT_LOADER_H_
|
|
#define CONTENT_CONTENT_LOADER_H_
|
|
|
|
#include <string>
|
|
#include <filesystem>
|
|
|
|
class Block;
|
|
class ContentPack;
|
|
class ContentBuilder;
|
|
|
|
class ContentLoader {
|
|
const ContentPack* pack;
|
|
public:
|
|
ContentLoader(ContentPack* pack);
|
|
|
|
Block* loadBlock(std::string name, std::filesystem::path file);
|
|
void load(ContentBuilder* builder);
|
|
};
|
|
|
|
#endif // CONTENT_CONTENT_LOADER_H_
|