VoxelEngine/src/content/ContentLoader.h
2023-12-16 18:55:54 +06:00

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_