displayShoppingCart(score) {
    const buyBtns = Array.from(this.elementList.buyItemButtons);
    const buyUpgrBtns = Array.from(this.elementList.buyUpgradeButtons);
    const allBtns = buyBtns.concat(buyUpgrBtns);
    allBtns.forEach((btn) => {
      const itemPrice = btn.parentElement.querySelector('span').innerText;
      if (itemPrice > score && btn.innerText !== 'check') btn.classList.add('opaque');
      else btn.classList.remove('opaque');
    });
  }
// displays buy buttons as opaque, if not enough score to buy them
displays buy buttons as opaque, if not enough score to buy them
displays buy buttons as opaque if not enough score to buy them
displayShoppingCart(score) {
    const buyBtns = Array.from(this.elementList.buyItemButtons);
    const buyUpgrBtns = Array.from(this.elementList.buyUpgradeButtons);
    const allBtns = buyBtns.concat(buyUpgrBtns);
    allBtns.forEach((btn) => {
      const itemPrice = btn.parentElement.querySelector('span').innerText;
      if (itemPrice > score && btn.innerText !== 'check') btn.classList.add('opaque');
      else btn.classList.remove('opaque');
    });
  }
displayShoppingCart ( score ) { const buyBtns = Array . from ( this . elementList . buyItemButtons ) ; const buyUpgrBtns = Array . from ( this . elementList . buyUpgradeButtons ) ; const allBtns = buyBtns . concat ( buyUpgrBtns ) ; allBtns . forEach ( ( btn ) => { const itemPrice = btn . parentElement . querySelector ( 'span' ) . innerText ; if ( itemPrice > score && btn . innerText !== 'check' ) btn . classList . add ( 'opaque' ) ; else btn . classList . remove ( 'opaque' ) ; } ) ; }
displays buy buttons as opaque, if not enough score to buy them
displays buy buttons as opaque if not enough score to buy them