aboutsummaryrefslogtreecommitdiff
path: root/src/scalevalapokalypsi/Model/Area.scala
diff options
context:
space:
mode:
Diffstat (limited to 'src/scalevalapokalypsi/Model/Area.scala')
-rw-r--r--src/scalevalapokalypsi/Model/Area.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scalevalapokalypsi/Model/Area.scala b/src/scalevalapokalypsi/Model/Area.scala
index a11b0e5..f534309 100644
--- a/src/scalevalapokalypsi/Model/Area.scala
+++ b/src/scalevalapokalypsi/Model/Area.scala
@@ -30,8 +30,8 @@ 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.values.map(_.name)
- def getEntity(name: String): Option[Entity] = this.entities.get(name)
def getEntities: Iterable[Entity] = this.entities.values
+ def getEntity(name: String): Option[Entity] = this.entities.get(name)
/** Tells whether this area has a neighbor in the given direction.
*