aboutsummaryrefslogtreecommitdiff
path: root/backend/Location.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'backend/Location.cpp')
-rw-r--r--backend/Location.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/backend/Location.cpp b/backend/Location.cpp
index bfd2107..c036c7b 100644
--- a/backend/Location.cpp
+++ b/backend/Location.cpp
@@ -39,7 +39,7 @@ void Location::add_visible_object(Object * object) {
void Location::remove_visible_object(Object * object) {
this->visible_objects.remove(object);
}
-ListRange<Object *> Location::get_visible_objects() const {
+ListRange<Object *> Location::get_visible_objects() {
return this->visible_objects.range();
}
@@ -49,7 +49,7 @@ void Location::add_hidden_object(Object * object) {
void Location::remove_hidden_object(Object * object) {
this->hidden_objects.remove(object);
}
-ListRange<Object *> Location::get_hidden_objects() const {
+ListRange<Object *> Location::get_hidden_objects() {
return this->hidden_objects.range();
}
@@ -68,7 +68,7 @@ void Location::add_enemy(Enemy * enemy) {
void Location::remove_enemy(Enemy * enemy) {
this->enemies.remove(enemy);
}
-ListRange<Enemy *> Location::get_enemies() const {
+ListRange<Enemy *> Location::get_enemies() {
return this->enemies.range();
}