]> ruin.nu Git - icfp05.git/blobdiff - copsrc/cop.h
initial change to new version
[icfp05.git] / copsrc / cop.h
index 0cc2a64e42827a90942827fb8a0399088af5565a..6f8af753ae1e19dcb6c502b3832b5b01780e88cd 100644 (file)
@@ -8,18 +8,16 @@ 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::vector<std::string> _noRobber;
-               __gnu_cxx::hash_map<std::string, int> _maybeRobber;
-               __gnu_cxx::hash_map<std::string, int> _winningPlans;
+               std::list<__gnu_cxx::hash_map<std::string, int> > _maybeRobber;
+               std::string _robber;
 };
 #endif