summaryrefslogtreecommitdiff
path: root/resources/js/classes/Area.js
diff options
context:
space:
mode:
authorDaniel Weipert <code@drogueronin.de>2023-08-22 16:37:33 +0200
committerDaniel Weipert <code@drogueronin.de>2023-08-22 16:37:33 +0200
commitdbcd0118863ff3e7c5bee45041ccdb757eb2f366 (patch)
treedc08c8641d1f886b579360f3c63a919545ed23fb /resources/js/classes/Area.js
parentc0354b250f84d578b609a7f25d71dee7fc24e9ca (diff)
areas and town/shop setup
Diffstat (limited to 'resources/js/classes/Area.js')
-rw-r--r--resources/js/classes/Area.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/resources/js/classes/Area.js b/resources/js/classes/Area.js
index 3451757..b2af3ea 100644
--- a/resources/js/classes/Area.js
+++ b/resources/js/classes/Area.js
@@ -27,11 +27,11 @@ class Area {
return DB.areas[this.slug].environment;
}
- get previousArea () {
- return DB.areas[this.slug].previousArea;
+ get events () {
+ return DB.areas[this.slug].events;
}
- get nextArea () {
- return DB.areas[this.slug].nextArea;
+ get connections () {
+ return DB.areas[this.slug].connections;
}
}