X-Git-Url: https://ruin.nu/git/?p=icfp05.git;a=blobdiff_plain;f=botsrc%2Fbot.h;h=aab4e831ea021ccbd610ae1c7a0e558aeaafaf69;hp=84f9de58f4d149d0859d898f7338da5fedd555c6;hb=7ea4f9f073009ba9a6bbf2fec398b0742f798658;hpb=d9ea67edb4cdaab1f5f7810de640f8fb722a15d1 diff --git a/botsrc/bot.h b/botsrc/bot.h index 84f9de5..aab4e83 100644 --- a/botsrc/bot.h +++ b/botsrc/bot.h @@ -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; };