Пример #1
0
 private void TrySellHammer(Hammer hammer, HammerView view)
 {
     if (_king.Diamonds >= hammer.Price)
     {
         _king.BuyingHammer(hammer);
         view.Deactivate();
         view.SellButtonClicked -= OnSellButtonClick;
     }
 }