Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/player.h')
-rw-r--r--src/core/player.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/core/player.h b/src/core/player.h
index b8dd100..fa13b22 100644
--- a/src/core/player.h
+++ b/src/core/player.h
@@ -47,6 +47,9 @@ public:
/// player base color
inline math::Color const & color() const { return player_color; }
+ /// player has been muted by admin or console
+ inline bool mute() const { return player_mute; }
+
/*----- mutators -------------------------------------------------- */
/// serialize player info to a stream
@@ -96,10 +99,15 @@ public:
/// player color
math::Color player_color;
+ /// player is muted by admin
+ bool player_mute;
+
/// the entity the Player is currently controling
EntityControlable *player_control;
std::list<EntityControlable*> assets;
+
+
};
}