source: network-game/server/Player.h@ 8e540f4

Last change on this file since 8e540f4 was 8e540f4, checked in by dportnoy <dmp1488@…>, 12 years ago

Created a separate function for processing error messages, began capitalizing class names and class-related file names, and fixed the include guard in message,h

  • Property mode set to 100644
File size: 270 bytes
Line 
1#ifndef _PLAYER_H
2#define _PLAYER_H
3
4#include <netinet/in.h>
5#include <string>
6
7using namespace std;
8
9class Player {
10public:
11 Player(string name, sockaddr_in addr);
12 ~Player();
13
14 bool operator == (const Player &p);
15
16 string name;
17 sockaddr_in addr;
18};
19
20#endif
Note: See TracBrowser for help on using the repository browser.