BlockType.cpp 237 B

123456789101112131415
  1. #include "BlockType.h"
  2. using namespace Framework;
  3. BlockType::BlockType( int id )
  4. : ReferenceCounter(),
  5. id( id )
  6. {
  7. StaticRegistry<BlockType>::INSTANCE.registerT( this, id );
  8. }
  9. int BlockType::getId() const
  10. {
  11. return id;
  12. }