MultiblockTree.h 550 B

123456789101112131415161718192021
  1. #pragma once
  2. #include "MultiblockStructure.h"
  3. class MultiblockTree : public MultiblockStructure
  4. {
  5. public:
  6. MultiblockTree(int dimensionId,
  7. __int64 structureId,
  8. Framework::Vec3<int> uniquePosition);
  9. virtual void onBlockRemoved(Block* zBlock) override;
  10. };
  11. class MultiblockTreeStructureType : public MultiblockStructureType
  12. {
  13. public:
  14. MultiblockTreeStructureType();
  15. virtual MultiblockStructure* createStructure(int dimensionId,
  16. __int64 structureId,
  17. Framework::Vec3<int> uniquePosition) const override;
  18. };