class State { Settings = { /** * @type {string} */ language: 'en_US', colors: { player: '#00ff00', player: '#ff0000', }, logMaxLength: 1000, }; /** * @type {Object.} */ areaProgress = {}; /** * @type {Area} */ currentArea = null; /** * @type {number} */ turn = 0; /** * @type {number} */ money = 0; /** * @type {Monster[]} */ monsters = []; /** * @type {Trainer} */ player = null; /** * @type {Trainer} */ opponent = null; /** * @type {Monster} */ rivalMonster = null; /** * @type {Technique} */ activeTechnique = null; /** * @type {InventoryItem} */ activeBall = null; };