Beaucoup de choses. (Fin du TP1 si pas d'épiphanie)
This commit is contained in:
		| @@ -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 | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user