add player getter
This commit is contained in:
@@ -31,6 +31,8 @@ public:
|
|||||||
ClientGame& GetGame() { return *m_Game; }
|
ClientGame& GetGame() { return *m_Game; }
|
||||||
ClientConnexion& GetConnexion() { return m_Connexion; }
|
ClientConnexion& GetConnexion() { return m_Connexion; }
|
||||||
|
|
||||||
|
const game::Player* GetPlayer() { return m_Game->GetPlayer(); }
|
||||||
|
|
||||||
void Tick(std::uint64_t delta);
|
void Tick(std::uint64_t delta);
|
||||||
|
|
||||||
void Render();
|
void Render();
|
||||||
|
|||||||
Reference in New Issue
Block a user