#include <Player.h>
Public Member Functions | |
Player () | |
Public constructor. | |
virtual | ~Player () |
Virtual destructor. | |
void | Init (const std::string &rUsername, const std::string &rPlayerId) |
Initializes player. | |
const std::string & | GetUsername () const |
Gets username. | |
const std::string & | GetPlayerId () const |
Gets player ID. | |
Private Attributes | |
std::string | m_Username |
Username. | |
std::string | m_PlayerId |
Player ID. |
Player | ( | ) |
Public constructor.
~Player | ( | ) | [virtual] |
Virtual destructor.
void Init | ( | const std::string & | rUsername, | |
const std::string & | rPlayerId | |||
) | [inline] |
Initializes player.
const std::string& GetUsername | ( | ) | const [inline] |
Gets username.
const std::string& GetPlayerId | ( | ) | const [inline] |
Gets player ID.
std::string m_Username [private] |
Username.
std::string m_PlayerId [private] |
Player ID.
Navigation
Home Page
Screen Shots
Developers
Documentation
Doxygen
Namespace List
Class List
Class Hierarchy
File List
Todo List
Links
SDL Library
License
SourceForge Project
Forums
Download
Regimental Command
Copyright © 2008
Randi J. Relander