summaryrefslogtreecommitdiff
path: root/resources/js/classes
diff options
context:
space:
mode:
authorDaniel Weipert <code@drogueronin.de>2023-08-26 19:00:03 +0200
committerDaniel Weipert <code@drogueronin.de>2023-08-26 19:00:03 +0200
commitb7db43abcaf8c9d9ccb4bcaff07c5416cb21ff62 (patch)
tree264f0e61fc2493c584519af218f4d28f3a58c55e /resources/js/classes
parent7ffb5e01dcd87a29e3cb6a3d0bcef1b87bc94d44 (diff)
auto-save to local storage
Diffstat (limited to 'resources/js/classes')
-rw-r--r--resources/js/classes/State.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/resources/js/classes/State.js b/resources/js/classes/State.js
index 1a65efe..417c685 100644
--- a/resources/js/classes/State.js
+++ b/resources/js/classes/State.js
@@ -15,6 +15,10 @@ class State {
logMaxLength: 1000,
};
+ Game = {
+ isInBattle: false,
+ };
+
/**
* @type {Object.<string, Area>}
*/