class InventoryItem { /** * @type {Item} */ item = null; /** * @type {number} */ quantity = 1; /** * @param {Item} item */ constructor (item) { this.item = item; } /* Item */ get slug () { return this.item.slug; } get name () { return this.item.name; } get category () { return this.item.category; } get type () { return this.item.type; } get sprite () { return this.item.sprite; } get conditions () { return this.item.conditions; } get effects () { return this.item.effects; } }