aboutsummaryrefslogtreecommitdiff
path: root/src/main/scala/Model/Area.scala
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/scala/Model/Area.scala')
-rw-r--r--src/main/scala/Model/Area.scala1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/scala/Model/Area.scala b/src/main/scala/Model/Area.scala
index ae1c98e..5a8de2a 100644
--- a/src/main/scala/Model/Area.scala
+++ b/src/main/scala/Model/Area.scala
@@ -23,6 +23,7 @@ class Area(val name: String, var description: String):
def getNeighborNames: Iterable[String] = this.neighbors.keys
def getItemNames: Iterable[String] = this.items.keys
def getEntityNames: Iterable[String] = this.entities.keys
+ def getEntities: Iterable[Entity] = this.entities.values
/** Tells whether this area has a neighbor in the given direction.
*