src/ai/api/ai_list_valuator.hpp
branchnoai
changeset 9775 4a30f9e841ca
parent 9772 c1035f0ac732
child 9778 38560cd27070
equal deleted inserted replaced
9774:74115e38e688 9775:4a30f9e841ca
    21 
    21 
    22 private:
    22 private:
    23 	/**
    23 	/**
    24 	 * The name of this list, to check if we can be used with a List.
    24 	 * The name of this list, to check if we can be used with a List.
    25 	 */
    25 	 */
    26 	const char *GetListName() const { return "AIList"; }
    26 	const char *GetListName() const { return NULL; }
    27 
    27 
    28 	int32 Valuate(int32 item) const;
    28 	int32 Valuate(int32 item) const;
    29 };
    29 };
    30 
    30 
    31 #endif /* AI_LIST_VALUATOR_HPP */
    31 #endif /* AI_LIST_VALUATOR_HPP */