Block.h 359 B

12345678910111213141516171819
  1. #ifndef BLOCK_H
  2. #define BLOCK_H
  3. #include "common/block/BlockTypes.h"
  4. #include "common/block/BlockBuilder.h"
  5. class Block final {
  6. public:
  7. Block();
  8. Block(BlockId id, const BlockName& registry, const BlockBuilder& builder);
  9. BlockId getId() const;
  10. const BlockName& getRegistry() const;
  11. private:
  12. BlockId id;
  13. BlockName registry;
  14. };
  15. #endif