]> ruin.nu Git - icfp05.git/blob - copsrc/cop.h
added license
[icfp05.git] / copsrc / cop.h
1 #ifndef __COP_H__
2 #define __COP_H__
3
4 #include "../botsrc/bot.h"
5 #include <utility>
6
7 class Cop : public Bot {
8         public:
9                 Cop(std::string name):Bot(name,cop_foot){};
10                 
11         protected:
12                 virtual void preGamePreparations();
13                 void sendInformation();
14                 void getInformation();
15                 void sendPlan();
16                 void move(std::string location);
17                 int maybeAtNeighbor(const Intersection& intersection);
18
19                 __gnu_cxx::hash_map<std::string, std::pair<std::string, PlayerType> > _copTargets;
20                 std::list<__gnu_cxx::hash_map<std::string, int> > _maybeRobber;
21                 std::string _robber;
22 };
23 #endif