src/ai/api/ai_abstractlist.hpp
branchnoai
changeset 9679 788e083db48b
parent 9665 e889ac1e663a
child 9681 3997f1ce203a
equal deleted inserted replaced
9678:c78400096127 9679:788e083db48b
   221 	void KeepList(AIAbstractList *list);
   221 	void KeepList(AIAbstractList *list);
   222 
   222 
   223 	/**
   223 	/**
   224 	 * The definition how valuators should look.
   224 	 * The definition how valuators should look.
   225 	 */
   225 	 */
   226 	class Valuator {
   226 	class Valuator : public AIObject {
   227 		/* Make this valuator a friend of AIAbstractList, so we can access the private.
   227 		/* Make this valuator a friend of AIAbstractList, so we can access the private.
   228 		 *  Nobody else should ever call Valuate. */
   228 		 *  Nobody else should ever call Valuate. */
   229 		friend class AIAbstractList;
   229 		friend class AIAbstractList;
   230 	public:
   230 	public:
   231 		/**
   231 		/**