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