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.h13
1 files changed, 9 insertions, 4 deletions
diff --git a/src/core/player.h b/src/core/player.h
index 08abac2..b8dd100 100644
--- a/src/core/player.h
+++ b/src/core/player.h
@@ -25,7 +25,9 @@ namespace core
class Player
{
public:
+ /// default constructor
Player();
+ /// default destructor
~Player();
/*----- inspectors ------------------------------------------------ */
@@ -79,19 +81,22 @@ public:
/* -- should actually not be public --*/
- // dirty state
+ /// dirty state
bool player_dirty;
- // id of the player
+ /// indicates rcon access
+ bool player_rcon;
+
+ /// id of the player
int player_id;
// name of the player
std::string player_name;
- // color
+ /// player color
math::Color player_color;
- // the entity the Player is currently controling
+ /// the entity the Player is currently controling
EntityControlable *player_control;
std::list<EntityControlable*> assets;