Block.h 196 B

12345678910111213141516171819
  1. #ifndef BLOCK_H
  2. #define BLOCK_H
  3. #include <cstdint>
  4. typedef uint16_t BlockId;
  5. class Block
  6. {
  7. public:
  8. Block(BlockId id);
  9. BlockId getId() const;
  10. private:
  11. const BlockId id;
  12. };
  13. #endif