BlockRegistry.h 290 B

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