branch | noai |
changeset 9529 | 5f26f4bc574b |
parent 9526 | a4ad60ba03be |
child 9530 | 5b93bc87cc5e |
--- a/src/ai/api/ai_road.hpp Sun Mar 25 15:22:56 2007 +0000 +++ b/src/ai/api/ai_road.hpp Sun Mar 25 16:10:40 2007 +0000 @@ -23,6 +23,11 @@ class AIRoad : public AIObject { public: /** + * The name of the class, needed by several sub-processes. + */ + static const char *GetClassName() { return "AIRoad"; } + + /** * Checks whether the given tile is actually a tile with road. * @param tile the tile to check. * @pre tile is always positive and smaller than AIMap::GetMapSize().