public void SetupItemCosts(IEnumerable <CurrencyAmount> data)
 {
     if (_cost == null)
     {
         return;
     }
     _cost.Generate <CostCurrencyUi>(data, (entry, price) =>
     {
         price.Setup(entry);
     });
 }
Example #2
0
 public void SetProfileList(IEnumerable <string> data)
 {
     _profiles.Generate <ProfileEntryUi>(data, (entry, item) => { item.Setup(entry); });
 }
Example #3
0
 private void SetSellList(IEnumerable <ItemEntry> data)
 {
     _toSellEntries.Generate <ShopEntryUi>(data, (entry, item) => { item.Setup(entry, this, false); });
 }
Example #4
0
 private void SetBuyList(IEnumerable <Item> data)
 {
     _toBuyEntries.Generate <ShopEntryUi>(data, (entry, item) => { item.Setup(entry, this, true); });
 }