X-Git-Url: https://ruin.nu/git/?p=icfp05.git;a=blobdiff_plain;f=newrobber%2Frobber.h;fp=newrobber%2Frobber.h;h=7624986cbbfa2a48a41a82156200aa4111910383;hp=0000000000000000000000000000000000000000;hb=f8095bf8fc76eec739a00ae86612881b743e3d8b;hpb=c5b563366b04bc53fc48e5040447bab6ff1a6abb diff --git a/newrobber/robber.h b/newrobber/robber.h new file mode 100644 index 0000000..7624986 --- /dev/null +++ b/newrobber/robber.h @@ -0,0 +1,17 @@ +#ifndef __ROBBER_H__ +#define __ROBBER_H__ + +#include "../botsrc/bot.h" + +class Robber : public Bot { + public: + Robber(std::string name):Bot(name,robber){}; + + std::string turn(); + + protected: + std::string _oldLocation; + std::string _maybeNextLocation; + virtual void move(std::string location); +}; +#endif