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