]> ruin.nu Git - icfp05.git/blobdiff - botsrc/bot.h
done, for now
[icfp05.git] / botsrc / bot.h
index a5f469b580becc9b390b20b7dbbd9ca11ce92e03..306ec7ef52fb9c64f6ab52bf62f09c0a0bdd8030 100644 (file)
@@ -82,6 +82,7 @@ class Bot {
                void buildGraph();
                void updateWorld();
                virtual std::string turn() = 0;
+               virtual void preGamePreparations(){};
                void move(std::string location);
                void getPlayers();
                std::list<std::string> shortestPath(const std::string& from, PlayerType type, const SPGoal& goal, bool reverse = false);
@@ -98,6 +99,8 @@ class Bot {
        int _world;
        int _robbed;
        int _smell;
+       std::string _robberLocation;
+       std::string _copHq;
 };
 
 class SimpleSPGoal : public SPGoal{