Add project files.

This commit is contained in:
Marc-Eric Martel
2021-09-13 12:10:06 -04:00
parent 6ea5765574
commit 48d35dcf7c
12 changed files with 324 additions and 0 deletions

18
SQCSim2021/blockinfo.h Normal file
View 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