feat: add basic towers rendering
This commit is contained in:
@@ -10,7 +10,7 @@ namespace game {
|
||||
|
||||
class Player {
|
||||
private:
|
||||
game::TeamColor m_TeamColor = game::TeamColor::None;
|
||||
game::TeamColor m_TeamColor;
|
||||
|
||||
std::uint32_t m_Gold = 0;
|
||||
std::int32_t m_EXP = 0;
|
||||
@@ -19,7 +19,7 @@ private:
|
||||
|
||||
std::uint8_t m_GoldPerSecond = 5;
|
||||
public:
|
||||
Player(std::uint8_t id = 0) : m_ID(id) {}
|
||||
Player(std::uint8_t id = 0) : m_TeamColor(game::TeamColor::None), m_ID(id) {}
|
||||
|
||||
const std::string& getName() const { return m_Name; }
|
||||
void setName(const std::string& name) { m_Name = name; }
|
||||
|
||||
Reference in New Issue
Block a user