X-Git-Url: https://ruin.nu/git/?a=blobdiff_plain;f=copsrc%2Fcop.h;h=6f8af753ae1e19dcb6c502b3832b5b01780e88cd;hb=f0bca5d0e69c0d1035c6b32b7d2c27e671f7060b;hp=42cb7787d0d13e420be84f332354e2fb556698a4;hpb=e80a1fceda25988c576631be47a9b122126d8f53;p=icfp05.git diff --git a/copsrc/cop.h b/copsrc/cop.h index 42cb778..6f8af75 100644 --- a/copsrc/cop.h +++ b/copsrc/cop.h @@ -2,17 +2,22 @@ #define __COP_H__ #include +#include 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 > _copTargets; + std::list<__gnu_cxx::hash_map > _maybeRobber; + std::string _robber; }; #endif