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