public void UpdateEquipmentPanel(Hero hero, bool allowedInteraction) { CurrentHero = hero; weaponSlot.UpdateEquipment(CurrentHero.Weapon, hero); armorSlot.UpdateEquipment(CurrentHero.Armor, hero); leftSlot.InteractionDisabled = !allowedInteraction; rightSlot.InteractionDisabled = !allowedInteraction; if (hero.LeftTrinket != null) { leftSlot.CreateItem(hero.LeftTrinket); } else { leftSlot.DeleteItem(); } if (hero.RightTrinket != null) { rightSlot.CreateItem(hero.RightTrinket); } else { rightSlot.DeleteItem(); } }