equal
deleted
inserted
replaced
1 /* $Id$ */ |
1 /* $Id$ */ |
2 |
2 |
3 /** @file ai_marine.hpp Everything to query and build marine */ |
3 /** @file ai_marine.hpp Everything to query and build marine. */ |
4 |
4 |
5 #ifndef AI_MARINE_HPP |
5 #ifndef AI_MARINE_HPP |
6 #define AI_MARINE_HPP |
6 #define AI_MARINE_HPP |
7 |
7 |
8 #include "ai_object.hpp" |
8 #include "ai_object.hpp" |
10 /** |
10 /** |
11 * Class that handles all marine related functions. |
11 * Class that handles all marine related functions. |
12 */ |
12 */ |
13 class AIMarine : public AIObject { |
13 class AIMarine : public AIObject { |
14 public: |
14 public: |
15 /** |
|
16 * The name of the class, needed by several sub-processes. |
|
17 */ |
|
18 static const char *GetClassName() { return "AIMarine"; } |
15 static const char *GetClassName() { return "AIMarine"; } |
19 |
16 |
20 /** |
17 /** |
21 * Checks whether the given tile is actually a tile with a water depot. |
18 * Checks whether the given tile is actually a tile with a water depot. |
22 * @param tile the tile to check. |
19 * @param tile the tile to check. |