]> jfr.im git - irc/gameservirc.git/blame - gameserv/aClient.h
Initial revision
[irc/gameservirc.git] / gameserv / aClient.h
CommitLineData
85ce9d3e 1#ifndef ACLIENT_H
2#define ACLIENT_H
3
4#include <string.h>
5#include <iostream.h>
6#include "player.h"
7
8class Player; // forward declaration
9
10class aClient {
11
12 friend ostream &operator<<( ostream &output, const aClient &c);
13
14 public:
15 aClient(char *);
16 aClient(const aClient &);
17 aClient();
18 ~aClient();
19
20 void setData(const aClient *);
21 void setNick(char *n) { strcpy(nick, n);};
22 //const char *getNick() { return nick; };
23 char *getNick() { return nick; };
24 Player *stats;
25
26 private:
27 char nick[32];
28};
29
30#endif