(slotEl)
| 423 | // - Select/equip higher-level, all encompassing methods the callbacks all use |
| 424 | |
| 425 | selectItemSlot (slotEl) { |
| 426 | this.clearSelection() |
| 427 | slotEl.addClass('selected') |
| 428 | const selectedSlotItemID = slotEl.find('.item').data('item-id') |
| 429 | const item = this.items.get(selectedSlotItemID) |
| 430 | if (item) { this.showItemDetails(item, 'unequip') } |
| 431 | return this.onSelectionChanged() |
| 432 | } |
| 433 | |
| 434 | selectUnequippedItem (itemEl) { |
| 435 | this.clearSelection() |
no test coverage detected