Changeset 8e540f4 in network-game for server/Player.h


Ignore:
Timestamp:
Nov 27, 2012, 4:03:52 PM (12 years ago)
Author:
dportnoy <dmp1488@…>
Branches:
master
Children:
36082e8
Parents:
2318fff
Message:

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

File:
1 moved

Legend:

Unmodified
Added
Removed
  • server/Player.h

    r2318fff r8e540f4  
    77using namespace std;
    88
    9 class player {
     9class Player {
    1010public:
     11   Player(string name, sockaddr_in addr);
     12   ~Player();
     13
     14   bool operator == (const Player &p);
     15
    1116   string name;
    1217   sockaddr_in addr;
    13 
    14    player(string name, sockaddr_in addr);
    15    ~player();
    16 
    17    bool operator == (const player &p);
    1818};
    1919
Note: See TracChangeset for help on using the changeset viewer.