Base content package + ContentLoader
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
#ifndef CONTENT_CONTENT_LOADER_H_
|
||||
#define CONTENT_CONTENT_LOADER_H_
|
||||
|
||||
#include <string>
|
||||
#include <filesystem>
|
||||
|
||||
class Block;
|
||||
class ContentBuilder;
|
||||
|
||||
class ContentLoader {
|
||||
std::filesystem::path folder;
|
||||
public:
|
||||
ContentLoader(std::filesystem::path folder);
|
||||
|
||||
Block* loadBlock(std::string name, std::filesystem::path file);
|
||||
void load(ContentBuilder* builder);
|
||||
};
|
||||
|
||||
#endif // CONTENT_CONTENT_LOADER_H_
|
||||
Reference in New Issue
Block a user