add player getter

This commit is contained in:
2022-07-14 18:40:52 +02:00
parent eb5b3c8ce2
commit e2ec9d6a3b

View File

@@ -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();