Block.cpp 236 B

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