Add project files.
This commit is contained in:
18
SQCSim2021/blockinfo.h
Normal file
18
SQCSim2021/blockinfo.h
Normal file
@@ -0,0 +1,18 @@
|
||||
#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
|
||||
|
Reference in New Issue
Block a user