+ SimpleSPGoal(std::string to);
+ int operator()(const SPInfo* node) const;
+};
+
+struct FindPlayer : SPGoal{
+ int _limit;
+ const __gnu_cxx::hash_map<std::string, Player>& _players;
+ PlayerType _type;
+ FindPlayer(const __gnu_cxx::hash_map<std::string, Player>& players, PlayerType type, int limit = 0);
+ int operator()(const SPInfo* node) const;