From 218da95a4b387ee5ac25f168d1529419039f2e54 Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Sat, 19 Aug 2023 13:18:54 +0200 Subject: refactor: enemy -> opponent, State.monsters~ -> State.Trainer.monsters --- resources/js/classes/Trainer.js | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 resources/js/classes/Trainer.js (limited to 'resources/js/classes/Trainer.js') 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 = []; +} -- cgit v1.2.3