]> ruin.nu Git - icfp05.git/blobdiff - copsrc/cop.h
added license
[icfp05.git] / copsrc / cop.h
index 42cb7787d0d13e420be84f332354e2fb556698a4..ed53f415b0f3e74c15b15965d5f32a25f23d888c 100644 (file)
@@ -1,18 +1,23 @@
 #ifndef __COP_H__
 #define __COP_H__
 
-#include <bot.h>
+#include "../botsrc/bot.h"
+#include <utility>
 
 class Cop : public Bot {
        public:
                Cop(std::string name):Bot(name,cop_foot){};
                
-               std::string turn();
        protected:
+               virtual void preGamePreparations();
                void sendInformation();
                void getInformation();
                void sendPlan();
-               void getPlans();
-               void vote();
+               void move(std::string location);
+               int maybeAtNeighbor(const Intersection& intersection);
+
+               __gnu_cxx::hash_map<std::string, std::pair<std::string, PlayerType> > _copTargets;
+               std::list<__gnu_cxx::hash_map<std::string, int> > _maybeRobber;
+               std::string _robber;
 };
 #endif