summaryrefslogtreecommitdiff
path: root/src/ai/api/ai_buoylist.hpp
diff options
context:
space:
mode:
authoryexo <yexo@openttd.org>2009-06-17 13:12:08 +0000
committeryexo <yexo@openttd.org>2009-06-17 13:12:08 +0000
commitd09d3566ddd86a559819354bad805dfc23622db8 (patch)
tree5ba4e0934a063e88cf58f4f2b34bd510aee08849 /src/ai/api/ai_buoylist.hpp
parent121a569125bd6cb986c8ca31e68e12685c7a281a (diff)
downloadopenttd-d09d3566ddd86a559819354bad805dfc23622db8.tar.xz
(svn r16585) -Add [NoAI]: AIBuoyList to get a list of all buoys
Diffstat (limited to 'src/ai/api/ai_buoylist.hpp')
-rw-r--r--src/ai/api/ai_buoylist.hpp21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/ai/api/ai_buoylist.hpp b/src/ai/api/ai_buoylist.hpp
new file mode 100644
index 000000000..b18a3e34f
--- /dev/null
+++ b/src/ai/api/ai_buoylist.hpp
@@ -0,0 +1,21 @@
+/* $Id$ */
+
+/** @file ai_buoylist.hpp List all the buoys. */
+
+#ifndef AI_BUOYLIST_HPP
+#define AI_BUOYLIST_HPP
+
+#include "ai_abstractlist.hpp"
+
+/**
+ * Creates a list of buoys.
+ * @ingroup AIList
+ */
+class AIBuoyList : public AIAbstractList {
+public:
+ static const char *GetClassName() { return "AIBuoyList"; }
+ AIBuoyList();
+};
+
+
+#endif /* AI_BUOYLIST_HPP */