aboutsummaryrefslogtreecommitdiff
path: root/backend/Location.h
diff options
context:
space:
mode:
Diffstat (limited to 'backend/Location.h')
-rw-r--r--backend/Location.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/backend/Location.h b/backend/Location.h
index f102728..8b600bb 100644
--- a/backend/Location.h
+++ b/backend/Location.h
@@ -1,6 +1,7 @@
#pragma once
-#include "List.hpp"
+#include "List.h"
+#include "ListIterator.h"
class Enemy;
class Object;
@@ -21,6 +22,7 @@ public:
const char * get_description();
void set_exit(Direction dir, Location * location = nullptr);
Location * get_exit(Direction dir);
+ ListRange<Object *> get_objects();
protected:
Location(const char * name = "", const char * description = "");