- attempt to add more randomness to pathfinding and faster AI decsions

This commit is contained in:
Mark Vejvoda
2011-02-04 06:34:32 +00:00
parent ab9d2f1bf2
commit 6ec92f2127
8 changed files with 218 additions and 184 deletions

View File

@@ -86,6 +86,16 @@ public:
}
}
}
std::string getString() const {
std::ostringstream streamOut;
streamOut << "#1: " << this->p[0].getString();
streamOut << "#2: " << this->p[1].getString();
std::string result = streamOut.str();
streamOut.str(std::string());
return result;
}
};
typedef Rect2<int> Rect2i;