Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2008-07-02 19:18:44 +0000
committerStijn Buys <ingar@osirion.org>2008-07-02 19:18:44 +0000
commit89de2efebc22b3754c18ede10dc07bfc397fc2d0 (patch)
tree1d005c4b0ad66333235ecfbea03089bb31015b48 /src/core/player.h
parentfd6f22924fd0d85ee20fb1d5e4588ac441675ea9 (diff)
initial server ncurses console
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;