Block.cpp 233 B

123456789101112131415
  1. #include "common/block/Block.h"
  2. Block::Block(u16 id, const std::string& registry) : id(id), registry(registry)
  3. {
  4. }
  5. u16 Block::getId() const
  6. {
  7. return id;
  8. }
  9. const std::string& Block::getRegistry() const
  10. {
  11. return registry;
  12. }