X-Git-Url: https://ruin.nu/git/?p=icfp05.git;a=blobdiff_plain;f=newrobber%2Frobber.h;h=53b1e6ffca3e8f991e7e6d5b33e5f2e47f351b84;hp=7624986cbbfa2a48a41a82156200aa4111910383;hb=ea7c6c2755a89718e1396c1c3f8061886861ff4c;hpb=f8095bf8fc76eec739a00ae86612881b743e3d8b diff --git a/newrobber/robber.h b/newrobber/robber.h index 7624986..53b1e6f 100644 --- a/newrobber/robber.h +++ b/newrobber/robber.h @@ -2,16 +2,19 @@ #define __ROBBER_H__ #include "../botsrc/bot.h" +#include class Robber : public Bot { public: Robber(std::string name):Bot(name,robber){}; std::string turn(); + int cost(const std::string& from,const std::string& to) const; + int operator()(const SPInfo* node) const; protected: std::string _oldLocation; - std::string _maybeNextLocation; virtual void move(std::string location); + clock_t _time; }; #endif