blob: 8e04ab53746238d90d2e7e9095a3fb5f1d3e9e59 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
#ifndef PLAYER_H
#define PLAYER_H
#include <string>
#include <boost/shared_ptr.hpp>
#include "connection.h"
class Player{
private:
//! A smart pointer to the players connection
Connection::p connection_pointer;
//! The players nick
std::string nick;
//! Either generated or fetched from database. Not used yet.
unsigned int id;
public:
Player();
~Player();
Player(const Connection::p& connection, const std::string& nick);
};
#endif // PLAYER_H_INCLUDED
|