Retrait d'instances de mc"clone"

This commit is contained in:
Marc-Eric Martel
2021-09-27 11:30:18 -04:00
parent 2324ef071b
commit 7bdc366edd
179 changed files with 75 additions and 63 deletions

27
SQCSim2021/blockinfo.h Normal file
View File

@@ -0,0 +1,27 @@
#ifndef BLOCKINFO_H__
#define BLOCKINFO_H__
#include <string>
#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;
private:
BlockType m_type;
std::string m_name;
int m_durability;
};
#endif // BLOCKINFO_H__