Changeset d998572 in network-game for common/Player.h


Ignore:
Timestamp:
Jan 19, 2014, 8:19:18 PM (11 years ago)
Author:
dportnoy <dmp1488@…>
Branches:
master
Children:
9ba9b96
Parents:
1f6233e
Message:

updateTarget (from the Player class) now takes the target as a parameter instead of the whole player map

File:
1 edited

Legend:

Unmodified
Added
Removed
  • common/Player.h

    r1f6233e rd998572  
    4848   void deserialize(char* buffer);
    4949
    50    bool updateTarget(map<unsigned int, Player*>& mapPlayers);
     50   bool updateTarget(const Player* targetPlayer);
    5151   bool move(WorldMap *map);
    5252   void takeDamage(int damage);
Note: See TracChangeset for help on using the changeset viewer.