X-Git-Url: https://ruin.nu/git/?p=icfp05.git;a=blobdiff_plain;f=copsrc%2Fcop.h;h=0cc2a64e42827a90942827fb8a0399088af5565a;hp=42cb7787d0d13e420be84f332354e2fb556698a4;hb=6b0d8904651d810411bef9b8ad213125fa437bd0;hpb=0802d5a4a639a7601f9e9d8a4d13836171c26bd1 diff --git a/copsrc/cop.h b/copsrc/cop.h index 42cb778..0cc2a64 100644 --- a/copsrc/cop.h +++ b/copsrc/cop.h @@ -2,6 +2,7 @@ #define __COP_H__ #include +#include class Cop : public Bot { public: @@ -9,10 +10,16 @@ class Cop : public Bot { std::string turn(); protected: + virtual void preGamePreparations(); void sendInformation(); void getInformation(); void sendPlan(); void getPlans(); void vote(); + + __gnu_cxx::hash_map > _copTargets; + std::vector _noRobber; + __gnu_cxx::hash_map _maybeRobber; + __gnu_cxx::hash_map _winningPlans; }; #endif