Exemplo n.º 1
0
 public void Attack(HexCell targetCell)
 {
     if (targets.Contains(targetCell))
     {
         HexUnit targetUnit = targetCell.Unit;
         targetUnit.OnAttackHit(AttackDamage);
         Debug.Log("Attacking " + targetUnit.name + " from team " + targetUnit.TeamIndex);
     }
 }