Base content package + ContentLoader

This commit is contained in:
MihailRis
2023-12-01 16:26:42 +03:00
parent 6708e1ef86
commit c8a283c645
33 changed files with 317 additions and 111 deletions
+19
View File
@@ -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_