+void Bot::updateWorld(){
+ string input;
+ getline(cin,input);
+ _world = value<int>(input);
+ cerr << "World: " << _world << endl;
+
+ getline(cin,input);
+ _robbed = value<int>(input);
+ cerr << "Robbed: " << _robbed << endl;
+
+ getline(cin,input);
+ while (true){
+ getline(cin, input);
+ if (input == "bv/")
+ break;
+ istringstream bank(input);
+ bank >> input;
+ bank >> input;
+ bank >> _banks[input];
+ }
+ cerr << "Number of banks: " << _banks.size() << endl;
+
+ getline(cin,input);
+ while (true){
+ getline(cin, input);
+ if (input == "ev/")
+ break;
+ istringstream evidence(input);
+ }
+
+ getline(cin,input);
+ _smell = value<int>(input);
+
+ getline(cin,input);
+ while (true){
+ getline(cin, input);
+ if (input == "pl/")
+ break;
+ istringstream player(input);
+ player >> input;
+ player >> input;
+ cerr << "Player: " << input << endl;
+ Player& pl = _players[input];
+ player >> pl.location;
+ player >> pl.type;
+ }
+ cerr << "Number of players: " << _players.size() << endl;
+}
+
+void Bot::move(std::string location){
+ cout << "mov: " << location << " " << _type << endl;
+}
+
+template<class T>
+T value(std::string input){