diff options
Diffstat (limited to 'src/core/player.h')
-rw-r--r-- | src/core/player.h | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/src/core/player.h b/src/core/player.h new file mode 100644 index 0000000..e5ff396 --- /dev/null +++ b/src/core/player.h @@ -0,0 +1,36 @@ +/* + core/clientstate.h + This file is part of the Osirion project and is distributed under + the terms of the GNU General Public License version 2. +*/ + +#ifndef __INCLUDED_CORE_PLAYER_H__ +#define __INCLUDED_CORE_PLAYER_H__ + +#include "core/core.h" + +#include <string> +namespace core +{ + +class Player +{ +public: + Player(); + ~Player(); + + /// name of the player + std::string name; + + /// core id of the player + unsigned int id; + + /// dirty state + bool dirty; +}; + +extern Player localplayer; + +} + +#endif // __INCLUDED_CORE_PLAYER_H__ |