summaryrefslogtreecommitdiff
path: root/resources/js/classes/State.js
diff options
context:
space:
mode:
authorDaniel Weipert <code@drogueronin.de>2023-08-20 14:32:40 +0200
committerDaniel Weipert <code@drogueronin.de>2023-08-20 14:32:40 +0200
commitb227fc9c2ef361f8aa5ee2f24aa1ade6bc972a73 (patch)
tree8fdd7e980107bfd8fcd58ffe21f2299b37d310c8 /resources/js/classes/State.js
parent2c7890e90e1aad371854cfe60ad63eaa88e64fec (diff)
area progress
Diffstat (limited to 'resources/js/classes/State.js')
-rw-r--r--resources/js/classes/State.js15
1 files changed, 15 insertions, 0 deletions
diff --git a/resources/js/classes/State.js b/resources/js/classes/State.js
index 4b209e2..5d3cfff 100644
--- a/resources/js/classes/State.js
+++ b/resources/js/classes/State.js
@@ -5,6 +5,16 @@ class State {
language = 'en_US';
/**
+ * @type {Object.<string, Area>}
+ */
+ areaProgress = {};
+
+ /**
+ * @type {Area}
+ */
+ currentArea = null;
+
+ /**
* @type {number}
*/
turn = 0;
@@ -30,6 +40,11 @@ class State {
opponent = null;
/**
+ * @type {Monster}
+ */
+ rivalMonster = null;
+
+ /**
* @type {Technique}
*/
activeTechnique = null;