summaryrefslogtreecommitdiff
path: root/src/ai/api/ai_townlist.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ai/api/ai_townlist.hpp')
-rw-r--r--src/ai/api/ai_townlist.hpp20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/ai/api/ai_townlist.hpp b/src/ai/api/ai_townlist.hpp
new file mode 100644
index 000000000..0e2eb1530
--- /dev/null
+++ b/src/ai/api/ai_townlist.hpp
@@ -0,0 +1,20 @@
+/* $Id$ */
+
+/** @file ai_townlist.hpp List all the towns. */
+
+#ifndef AI_TOWNLIST_HPP
+#define AI_TOWNLIST_HPP
+
+#include "ai_abstractlist.hpp"
+
+/**
+ * Creates a list of towns that are currently on the map.
+ * @ingroup AIList
+ */
+class AITownList : public AIAbstractList {
+public:
+ static const char *GetClassName() { return "AITownList"; }
+ AITownList();
+};
+
+#endif /* AI_TOWNLIST_HPP */