summaryrefslogtreecommitdiff
path: root/resources/js/classes/State.js
diff options
context:
space:
mode:
Diffstat (limited to 'resources/js/classes/State.js')
-rw-r--r--resources/js/classes/State.js25
1 files changed, 9 insertions, 16 deletions
diff --git a/resources/js/classes/State.js b/resources/js/classes/State.js
index c0065d1..99a642c 100644
--- a/resources/js/classes/State.js
+++ b/resources/js/classes/State.js
@@ -2,37 +2,30 @@ class State {
/**
* @type {number}
*/
- money = 0;
+ turn = 0;
/**
- * @type {Monster[]}
+ * @type {number}
*/
- monsters = [];
+ money = 0;
/**
- * @type {InventoryItem[]}
+ * @type {Monster[]}
*/
- inventory = [];
+ monsters = [];
/**
- * @type {Monster[]}
+ * @type {Trainer}
*/
- partyMonsters = [];
+ player = null;
/**
- * @type {Monster}
+ * @type {Trainer}
*/
- activeMonster = null;
+ opponent = null;
/**
* @type {Technique}
*/
activeTechnique = null;
-
- enemy = {
- /**
- * @type {Monster}
- */
- monster: null,
- };
};