Début TP2 + Handling des événements de touches de mouvement
This commit is contained in:
		| @@ -1,23 +0,0 @@ | ||||
| #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; | ||||
|  | ||||
| private: | ||||
| 	std::string m_name; | ||||
| 	int m_durability; | ||||
| 	BlockType m_type; | ||||
| }; | ||||
| #endif | ||||
|  | ||||
		Reference in New Issue
	
	Block a user