Esempio n. 1
0
        private void UpdateDealSumForHero()
        {
            var sumHero  = ApplicationTrade.GetSumPrice(_heroTable);
            var sumTrade = ApplicationTrade.GetSumPrice(_traderTable);

            _applicationTrade.DealSumForHero = sumHero - sumTrade;
            UpdateDealText();
        }
Esempio n. 2
0
 public UiView(ApplicationTrade applicationTrade, InventoryOpenCloseObject traderTable, InventoryOpenCloseObject heroTable)
 {
     _applicationTrade = applicationTrade;
     _traderTable      = traderTable;
     _heroTable        = heroTable;
 }