Beaucoup de choses. (Fin du TP1 si pas d'épiphanie)

This commit is contained in:
Marc-Eric Martel
2021-09-17 10:03:32 -04:00
parent 48d35dcf7c
commit 4deb7418c3
10 changed files with 129 additions and 5 deletions

View File

@@ -2,6 +2,7 @@
#define BLOCKINFO_H__
#include "define.h"
#include <iostream>
class BlockInfo {
public:
@@ -13,6 +14,11 @@ public:
void SetDurability(int durability);
int GetDurability() const;
void Show() const;
private:
std::string m_name;
int m_durability;
BlockType m_type;
};
#endif