diff options
Diffstat (limited to 'src/core/player.h')
-rw-r--r-- | src/core/player.h | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/src/core/player.h b/src/core/player.h index fa13b22..e37c577 100644 --- a/src/core/player.h +++ b/src/core/player.h @@ -44,9 +44,12 @@ public: /// the entity the Player is currently controling inline EntityControlable *control() const { return player_control; } - /// player base color + /// player primary color inline math::Color const & color() const { return player_color; } + /// player secondary color + inline math::Color const & color_second() const { return player_color_second; } + /// player has been muted by admin or console inline bool mute() const { return player_mute; } @@ -93,12 +96,15 @@ public: /// id of the player int player_id; - // name of the player + /// name of the player std::string player_name; - /// player color + /// player primary color math::Color player_color; + /// player secondary color + math::Color player_color_second; + /// player is muted by admin bool player_mute; |