src/ai/api/ai_bridgelist.hpp
branchnoai
changeset 9816 35e866676c00
parent 9815 efac4d882b25
child 9829 80fbe02a4184
equal deleted inserted replaced
9815:efac4d882b25 9816:35e866676c00
    14  */
    14  */
    15 class AIBridgeList : public AIAbstractList {
    15 class AIBridgeList : public AIAbstractList {
    16 public:
    16 public:
    17 	static const char *GetClassName() { return "AIBridgeList"; }
    17 	static const char *GetClassName() { return "AIBridgeList"; }
    18 	AIBridgeList();
    18 	AIBridgeList();
    19 
       
    20 private:
       
    21 	const char *GetListName() const { return "AIBridgeList"; }
       
    22 };
    19 };
    23 
    20 
    24 /**
    21 /**
    25  * Create a list of bridges that can be built on a specific length.
    22  * Create a list of bridges that can be built on a specific length.
    26  * @ingroup AIBridgeList
    23  * @ingroup AIBridgeList
    31 
    28 
    32 	/**
    29 	/**
    33 	 * @param length The length of the bridge you want to build.
    30 	 * @param length The length of the bridge you want to build.
    34 	 */
    31 	 */
    35 	AIBridgeList_Length(uint length);
    32 	AIBridgeList_Length(uint length);
    36 
       
    37 private:
       
    38 	const char *GetListName() const { return "AIBridgeList"; }
       
    39 };
    33 };
    40 
    34 
    41 #endif /* AI_BRIDGELIST_HPP */
    35 #endif /* AI_BRIDGELIST_HPP */