#ifndef BLOCK_H #define BLOCK_H #include "common/block/BlockTypes.h" #include "common/utils/CollisionBox.h" #include "utils/ArrayList.h" #include "utils/List.h" class Block final { BlockId id; BlockName registry; ArrayList boxes; public: Block(BlockId id, const BlockName& registry); BlockId getId() const; const BlockName& getRegistry() const; void addBoxes(List& list, const Vector3& pos) const; }; #endif