public void AddMoraleBoostToRow(UnitCard droppedCard) { AbilityEffectOnRow.Add(Ability.MoraleBoost); for (int i = 0; i < cardsOnRow.Count; i++) { if (cardsOnRow[i] != droppedCard && !(cardsOnRow[i] is HeroUnit)) { cardsOnRow[i].AttackValue++; } } }
public void AddUnitCardToRow(UnitCard unit) { cardsOnRow.Add(unit); }
public bool RemoveUnitCardFromRow(UnitCard unit) { return(cardsOnRow.Remove(unit)); }
protected void AddCardToRow(UnitCard card) { ToRow.currentRow.AddUnitCardToRow(card); Debug.Log(ToRow.currentRow.ToString()); }