class State { /** * @type {number} */ money = 0; /** * @type {Monster[]} */ monsters = []; /** * @type {InventoryItem[]} */ inventory = []; /** * @type {Monster[]} */ partyMonsters = []; /** * @type {Monster} */ activeMonster = null; /** * @type {Technique} */ activeTechnique = null; enemy = { /** * @type {Monster} */ monster: null, }; };