X-Git-Url: https://ruin.nu/git/?p=icfp05.git;a=blobdiff_plain;f=bot%2Fbot.h;h=72d2d6bd7a88888bd3f9367dc3c783beac2c435b;hp=d01ec114853e118456235efea29b4650d8d268c5;hb=ea32d9ec2a34aa06cce2495c4efcb0864911be43;hpb=3a975985ae3a8b2b1cc34df85bc81186afa43842 diff --git a/bot/bot.h b/bot/bot.h index d01ec11..72d2d6b 100644 --- a/bot/bot.h +++ b/bot/bot.h @@ -83,7 +83,7 @@ class Bot { virtual std::string turn() = 0; void move(std::string location); void getPlayers(); - std::list shortestPath(const std::string& from, PlayerType type, const SPGoal& goal); + std::list shortestPath(const std::string& from, PlayerType type, const SPGoal& goal, bool reverse = false); __gnu_cxx::hash_map _intersections; __gnu_cxx::hash_map _players;