From 87e4e658432474d6d8c7f40429da0d052b8561e3 Mon Sep 17 00:00:00 2001 From: Persson-dev Date: Wed, 27 Apr 2022 18:38:10 +0200 Subject: [PATCH] refactor: remove useless namespace --- include/game/Player.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/game/Player.h b/include/game/Player.h index f073529..54715d8 100644 --- a/include/game/Player.h +++ b/include/game/Player.h @@ -11,7 +11,7 @@ namespace game { class Player { private: - game::TeamColor m_TeamColor; + TeamColor m_TeamColor; PlayerUpgrades m_Upgrades; std::uint32_t m_Gold; @@ -21,13 +21,13 @@ private: public: - Player(std::uint8_t id = 0) : m_TeamColor(game::TeamColor::None), m_Gold(0), m_Exp(0), m_ID(id) {} + Player(std::uint8_t id = 0) : m_TeamColor(TeamColor::None), m_Gold(0), m_Exp(0), m_ID(id) {} const std::string& GetName() const { return m_Name; } void SetName(const std::string& name) { m_Name = name; } - game::TeamColor GetTeamColor() const { return m_TeamColor; } - void SetTeamColor(game::TeamColor teamColor) { m_TeamColor = teamColor; } + TeamColor GetTeamColor() const { return m_TeamColor; } + void SetTeamColor(TeamColor teamColor) { m_TeamColor = teamColor; } std::uint32_t GetGold() const { return m_Gold; } void SetGold(std::uint32_t gold) { m_Gold = gold; }