BlockRegistry.h 290 B

123456789101112131415
  1. #ifndef BLOCKREGISTRY_H
  2. #define BLOCKREGISTRY_H
  3. #include "common/utils/Types.h"
  4. #include "common/block/Block.h"
  5. namespace BlockRegistry
  6. {
  7. void loadFromFile(const std::string& path);
  8. const Block& getBlock(const std::string& registry);
  9. const Block& getBlock(u16 id);
  10. }
  11. #endif