src/ai/api/ai_marine.hpp
branchnoai
changeset 9829 80fbe02a4184
parent 9801 03a3eebd7fb7
child 9836 54afebfded49
equal deleted inserted replaced
9828:38be66875b45 9829:80fbe02a4184
     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.