7 using namespace __gnu_cxx;
26 void Cop::sendInformation(){
27 cout << "inf\\" << endl;
28 cout << "inf/" << endl;
31 void Cop::getInformation(){
37 }while(input != "from/");
41 cout << "plan\\" << endl;
42 //cout << "plan: " << _name << endl;
43 cout << "plan/" << endl;
52 }while(input != "from/");
58 cout << "vote\\" << endl;
59 cout << "vote: " << _name << endl;
60 for (hash_map<string,Player>::const_iterator player = _players.begin();
61 player != _players.end(); ++player){
62 if (player->second.type != robber && player->first != _name){
63 cout << "vote: " << player->first << endl;
64 cerr << "voted for " << player->first << " of type: " << player->second.type << endl;
67 cout << "vote/" << endl;