Push branche HUD. Propriétes et getters pour Player (HP, username). Changements minimes à Audio (enlever d'un merge). Modification et ajouts de DrawHud et DrawData
This commit is contained in:
		| @@ -20,6 +20,8 @@ public: | ||||
| 	Vector3f GetDirection() const; | ||||
| 	Vector3f GetVelocity() const; | ||||
| 	Vector3f GetPOV() const; | ||||
| 	std::string GetUsername() const; | ||||
| 	float GetHP() const; | ||||
| 	void Teleport(int& x, int& z); | ||||
|  | ||||
| private: | ||||
| @@ -27,10 +29,14 @@ private: | ||||
| 	Vector3f m_velocity; | ||||
| 	Vector3f m_direction; | ||||
|  | ||||
| 	std::string m_username; | ||||
|  | ||||
| 	float m_rotX = 0;  | ||||
| 	float m_rotY = 0; | ||||
| 	float m_POV; | ||||
|  | ||||
| 	float m_hp; | ||||
|  | ||||
| 	bool m_airborne; | ||||
| }; | ||||
| #endif //_PLAYER_H__ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user