Changeset e6c26b8 in network-game for common/Projectile.h
- Timestamp:
- Oct 1, 2013, 8:08:24 PM (12 years ago)
- Branches:
- master
- Children:
- 95ffe57
- Parents:
- 373089e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
common/Projectile.h
r373089e re6c26b8 26 26 27 27 // returns true if it reached the target and should be deleted 28 bool move(map<unsigned int, Player>& mapPlayers); 28 bool move(map<unsigned int, Player*>& mapPlayers); 29 30 /* 31 * target should become a Player*. When this object gets serialized, the player's id should be sent. 32 * Deserialization in this case might be tricky since it will require a playerMap to turn the id into a Plauyer* 33 */ 29 34 30 35 int id;
Note:
See TracChangeset
for help on using the changeset viewer.