]> ruin.nu Git - icfp05.git/blobdiff - botsrc/bot.h
added limit to SimpleSPGoal and ensured that two additional cops chases the smell
[icfp05.git] / botsrc / bot.h
index 84f9de58f4d149d0859d898f7338da5fedd555c6..aab4e831ea021ccbd610ae1c7a0e558aeaafaf69 100644 (file)
@@ -112,8 +112,9 @@ class Bot {
 
 class SimpleSPGoal : public SPGoal{
        std::string _to;
+       int _limit;
        public:
-       SimpleSPGoal(std::string to);
+       SimpleSPGoal(const std::string& to, int limit = 0);
        int operator()(const SPInfo* node) const;
 };