private void TrySellHammer(Hammer hammer, HammerView view) { if (_king.Diamonds >= hammer.Price) { _king.BuyingHammer(hammer); view.Deactivate(); view.SellButtonClicked -= OnSellButtonClick; } }
private void TrySellHammer(Hammer hammer, HammerView view) { if (_king.Diamonds >= hammer.Price) { _king.BuyingHammer(hammer); view.Deactivate(); view.SellButtonClicked -= OnSellButtonClick; } }