summaryrefslogtreecommitdiff
path: root/resources/js/classes
diff options
context:
space:
mode:
Diffstat (limited to 'resources/js/classes')
-rw-r--r--resources/js/classes/Area.js12
1 files changed, 12 insertions, 0 deletions
diff --git a/resources/js/classes/Area.js b/resources/js/classes/Area.js
index b2af3ea..b0bd710 100644
--- a/resources/js/classes/Area.js
+++ b/resources/js/classes/Area.js
@@ -11,6 +11,10 @@ class Area {
async initialize () {}
+ get name () {
+ return DB.areas[this.slug].name;
+ }
+
get encounters () {
return DB.areas[this.slug].encounters;
}
@@ -27,6 +31,14 @@ class Area {
return DB.areas[this.slug].environment;
}
+ get map () {
+ return DB.areas[this.slug].map;
+ }
+
+ get locations () {
+ return DB.areas[this.slug].locations;
+ }
+
get events () {
return DB.areas[this.slug].events;
}