refactor: add player exp methods

This commit is contained in:
2021-11-04 10:02:33 +01:00
parent c75361bd66
commit f2f79781db

View File

@@ -13,7 +13,7 @@ private:
game::TeamColor m_TeamColor;
std::uint32_t m_Gold = 0;
std::int32_t m_EXP = 0;
std::uint32_t m_EXP = 0;
std::string m_Name;
std::uint8_t m_ID;
@@ -33,6 +33,9 @@ public:
std::uint32_t getGold() const { return m_Gold; }
void setGold(std::uint32_t gold) { m_Gold = gold; }
std::uint32_t getEXP() const { return m_EXP; }
void setEXP(std::uint32_t exp) { m_EXP = exp; }
std::uint8_t getID() const { return m_ID; }
};