equal
deleted
inserted
replaced
10 /** |
10 /** |
11 * Class that handles all cargo related functions. |
11 * Class that handles all cargo related functions. |
12 */ |
12 */ |
13 class AICargo : public AIObject { |
13 class AICargo : 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 "AICargo"; } |
|
19 |
15 /** |
20 /** |
16 * Checks whether the given cargo type is valid. |
21 * Checks whether the given cargo type is valid. |
17 * @param cargo_type the cargo to check. |
22 * @param cargo_type the cargo to check. |
18 * @return true if and only if the cargo type is valid. |
23 * @return true if and only if the cargo type is valid. |
19 */ |
24 */ |