X-Git-Url: https://ruin.nu/git/?p=icfp05.git;a=blobdiff_plain;f=copsrc%2Fcop.h;fp=copsrc%2Fcop.h;h=6f8af753ae1e19dcb6c502b3832b5b01780e88cd;hp=3b1d3a13e93a453cdf9f607802b8ed0bda36da21;hb=f0bca5d0e69c0d1035c6b32b7d2c27e671f7060b;hpb=42e51f90d84089aa6ecf4b84939bd57b89fe125e diff --git a/copsrc/cop.h b/copsrc/cop.h index 3b1d3a1..6f8af75 100644 --- a/copsrc/cop.h +++ b/copsrc/cop.h @@ -8,19 +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 > _copTargets; std::list<__gnu_cxx::hash_map > _maybeRobber; - __gnu_cxx::hash_map _winningPlans; std::string _robber; }; #endif