Beispiel #1
0
 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++;
         }
     }
 }
Beispiel #2
0
 public void AddUnitCardToRow(UnitCard unit)
 {
     cardsOnRow.Add(unit);
 }
Beispiel #3
0
 public bool RemoveUnitCardFromRow(UnitCard unit)
 {
     return(cardsOnRow.Remove(unit));
 }
Beispiel #4
0
 protected void AddCardToRow(UnitCard card)
 {
     ToRow.currentRow.AddUnitCardToRow(card);
     Debug.Log(ToRow.currentRow.ToString());
 }