Changeset 9ba9b96 in network-game for common/Player.h
- Timestamp:
- Jan 20, 2014, 4:59:34 PM (11 years ago)
- Branches:
- master
- Children:
- 949cf70
- Parents:
- d998572
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
common/Player.h
rd998572 r9ba9b96 41 41 ~Player(); 42 42 43 void setId( int id);43 void setId(unsigned int id); 44 44 void setAddr(sockaddr_in addr); 45 45 void setClass(PlayerClass c); … … 52 52 void takeDamage(int damage); 53 53 54 void takeFlag( int flag, WorldMap* map);55 void dropFlag( int flag, WorldMap* map);54 void takeFlag(unsigned int flag, WorldMap* map); 55 void dropFlag(unsigned int flag, WorldMap* map); 56 56 57 int id;57 unsigned int id; 58 58 string name; 59 59 string password; … … 66 66 bool isChasing; 67 67 bool isAttacking; 68 int targetPlayer;68 unsigned int targetPlayer; 69 69 bool isDead; 70 70
Note:
See TracChangeset
for help on using the changeset viewer.