public void BuyHouses(Street property, int numOfHouses) { if (!CurrentPlayer.BalanceManager.GetMoneyFromPlayer(property.HousePrice * numOfHouses)) { return; } property.BuildHouses(numOfHouses); TextLog.LogText(string.Format("{0} покупает {1} дом(а) на {2}", CurrentPlayer.PlayerName, numOfHouses, property.name)); }