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


Ignore:
Timestamp:
Jun 11, 2013, 1:24:09 AM (12 years ago)
Author:
dportnoy <dmp1488@…>
Branches:
master
Children:
5b1e31e
Parents:
11d21ee
Message:

Move player chasing behavior to the Player class so the same behavior can be run client-side

File:
1 edited

Legend:

Unmodified
Added
Removed
  • common/Player.h

    r11d21ee rff2133a  
    1212
    1313#include <string>
     14#include <map>
    1415
    1516#include "Common.h"
     
    4647   void deserialize(char* buffer);
    4748
     49   void updateTarget(map<unsigned int, Player>& mapPlayers);
    4850   bool move(WorldMap *map);
    4951
    50    void takeFlag(int flag, WorldMap *map);
    51    void dropFlag(int flag, WorldMap *map);
     52   void takeFlag(int flag, WorldMap* map);
     53   void dropFlag(int flag, WorldMap* map);
    5254
    5355   int id;
Note: See TracChangeset for help on using the changeset viewer.