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