diff options
author | Daniel Weipert <code@drogueronin.de> | 2023-08-19 13:18:54 +0200 |
---|---|---|
committer | Daniel Weipert <code@drogueronin.de> | 2023-08-19 13:18:54 +0200 |
commit | 218da95a4b387ee5ac25f168d1529419039f2e54 (patch) | |
tree | 21375d6aae287da413cbfc1002c2c8eeb7bba1ed /resources/js/classes/Trainer.js | |
parent | 91d048ef0f994446aaee91e3afcbd99788e439d7 (diff) |
refactor: enemy -> opponent, State.monsters~ -> State.Trainer.monsters
Diffstat (limited to 'resources/js/classes/Trainer.js')
-rw-r--r-- | resources/js/classes/Trainer.js | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/resources/js/classes/Trainer.js b/resources/js/classes/Trainer.js new file mode 100644 index 0000000..668c92b --- /dev/null +++ b/resources/js/classes/Trainer.js @@ -0,0 +1,16 @@ +class Trainer { + /** + * @type {Monster[]} + */ + monsters = []; + + /** + * @type {InventoryItem[]} + */ + inventory = []; + + /** + * @type {Monster} + */ + activeMonster = []; +} |