diff --git a/include/game/Player.h b/include/game/Player.h index a01fa4b..ee6fac1 100644 --- a/include/game/Player.h +++ b/include/game/Player.h @@ -18,8 +18,9 @@ private: PlayerID m_ID; std::uint8_t m_GoldPerSecond; - + public: + Player(std::uint8_t id = 0) : m_TeamColor(game::TeamColor::None), m_Gold(0), m_Exp(0), m_ID(id), m_GoldPerSecond(5) {} const std::string& getName() const { return m_Name; }