Block.cpp 232 B

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