src/ai/api/ai_cargolist.hpp
branchnoai
changeset 9785 edbd185e05ed
child 9816 35e866676c00
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/ai/api/ai_cargolist.hpp	Tue Feb 26 22:03:18 2008 +0000
@@ -0,0 +1,22 @@
+/** @file ai_cargolist.hpp list all the cargos */
+/** @defgroup AICargoList AICargoList - Valuators and lists working on/with AICargoList */
+
+#ifndef AI_CARGOLIST_HPP
+#define AI_CARGOLIST_HPP
+
+#include "ai_abstractlist.hpp"
+
+/**
+ * Creates a list of cargos that can be produced in the current game.
+ * @ingroup AICargoList
+ */
+class AICargoList : public AIAbstractList {
+public:
+	static const char *GetClassName() { return "AICargoList"; }
+	AICargoList();
+
+private:
+	const char *GetListName() const { return "AICargoList"; }
+};
+
+#endif /* AI_CARGOLIST_HPP */