X-Git-Url: https://ruin.nu/git/?a=blobdiff_plain;f=copsrc%2Fcop.h;h=ed53f415b0f3e74c15b15965d5f32a25f23d888c;hb=HEAD;hp=3b1d3a13e93a453cdf9f607802b8ed0bda36da21;hpb=a76a0b3a94ab89c98135829d163a5fd303398f98;p=icfp05.git diff --git a/copsrc/cop.h b/copsrc/cop.h index 3b1d3a1..ed53f41 100644 --- a/copsrc/cop.h +++ b/copsrc/cop.h @@ -1,26 +1,23 @@ #ifndef __COP_H__ #define __COP_H__ -#include +#include "../botsrc/bot.h" #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; - __gnu_cxx::hash_map _winningPlans; std::string _robber; }; #endif