summaryrefslogtreecommitdiff
path: root/resources/js/classes/State.js
diff options
context:
space:
mode:
authorDaniel Weipert <code@drogueronin.de>2023-08-30 21:35:28 +0200
committerDaniel Weipert <code@drogueronin.de>2023-08-30 21:35:28 +0200
commit5214cdfbf26bc0bdee5d669a237fb8aefffb78d5 (patch)
tree7bec19278a0cf8fc1772e8eb6d985391d402c614 /resources/js/classes/State.js
parent5e2e6753966c19616822915c14795bf62b589f68 (diff)
story!
Diffstat (limited to 'resources/js/classes/State.js')
-rw-r--r--resources/js/classes/State.js12
1 files changed, 12 insertions, 0 deletions
diff --git a/resources/js/classes/State.js b/resources/js/classes/State.js
index e4820d3..0dc06aa 100644
--- a/resources/js/classes/State.js
+++ b/resources/js/classes/State.js
@@ -1,5 +1,7 @@
class State {
Settings = {
+ name: '',
+
/**
* @type {string}
*/
@@ -35,6 +37,16 @@ class State {
lastVisitedTown = '';
/**
+ * @type {Object.<string, boolean>}
+ */
+ storyProgress = {};
+
+ /**
+ * @type {string}
+ */
+ currentStory = null;
+
+ /**
* @type {number}
*/
turn = 0;