12345678910111213141516171819 |
- #ifndef BLOCK_H
- #define BLOCK_H
- #include "common/utils/HashedString.h"
- #include "common/block/BlockBuilder.h"
- class Block final {
- public:
- Block();
- Block(u16 id, const HashedString& registry, const BlockBuilder& builder);
- u16 getId() const;
- const HashedString& getRegistry() const;
- private:
- u16 id;
- HashedString registry;
- };
- #endif
|