]> ruin.nu Git - icfp05.git/blob - newrobber/robber.h
initial implementation of new robber
[icfp05.git] / newrobber / robber.h
1 #ifndef __ROBBER_H__
2 #define __ROBBER_H__
3
4 #include "../botsrc/bot.h"
5 #include <time.h>
6
7 class Robber : public Bot {
8         public:
9                 Robber(std::string name):Bot(name,robber){};
10                 
11                 std::string turn();
12                 int cost(const std::string& from,const std::string& to) const;
13                 int operator()(const SPInfo* node) const;
14
15         protected:
16                 std::string _oldLocation;
17                 virtual void move(std::string location);
18                 clock_t _time;
19 };
20 #endif