12345678910111213141516171819202122232425262728 |
- #pragma once
- #include <Model3D.h>
- #include "Inventory.h"
- #include "Chunk.h"
- using namespace Framework;
- class Block : public Model3D, public Inventory
- {
- private:
- bool visible;
- bool transparent;
- bool passable;
- float hp;
- float maxHP;
- float hardness;
- float speedModifier;
- ItemType *zTool;
- public:
- Block( Vec3<int> position );
- ~Block();
- friend Chunk;
- friend BlockType;
- };
|