Esempio n. 1
0
 private void SetStatViews(Item item)
 {
     if (item.Type == ItemType.Weapon || item.Type == ItemType.Armor)
     {
         StatInfo[] statInfo = InventoryUtil.GetStatInfo(item, spriteBoard);
         itemInfoView.SetStatViews(statInfo);
     }
 }
Esempio n. 2
0
 public void ShowItem(ItemRef item)
 {
     itemInfoView.SetView(item);
     itemInfoView.SetStatViews(InventoryUtil.GetStatInfo(item.ReferencedItem, spriteBoard));
 }