private void UpdateCardBonus(CardGrid card) { int baseScore = card.card.GetScore(); int extra = GetCardScore() - baseScore; card.SetCenterText( baseScore.ToString() + (extra < 0 ? "" : "+") + extra.ToString()); }
private void UpdateCardBonus(CardGrid card) { int baseScore = card.card.GetScore(); int extra = GetCardScore() - baseScore; card.SetCenterText( baseScore.ToString() + (extra < 0 ? "" : "+") + extra.ToString()); }