SQCSimulator2023/SQCSim2021/blockinfo.h
2021-09-13 12:10:06 -04:00

19 lines
286 B
C++

#ifndef BLOCKINFO_H__
#define BLOCKINFO_H__
#include "define.h"
class BlockInfo {
public:
BlockInfo(BlockType type, const std::string& name);
~BlockInfo();
BlockType GetType() const;
void SetDurability(int durability);
int GetDurability() const;
void Show() const;
};
#endif