- #ifndef BLOCKREGISTRY_H
- #define BLOCKREGISTRY_H
- #include "common/utils/Types.h"
- #include "common/block/Block.h"
- namespace BlockRegistry
- {
- void loadFromFile(const std::string& path);
- const Block& getBlock(const std::string& registry);
- const Block& getBlock(u16 id);
- }
- #endif
|