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

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