using System.Collections.Generic;
using System.Linq;
using Wizard.Battle;

public class SkillTargetGameAddUpdateDeckCardsFilter : ISkillTargetFilter
{
	public IEnumerable<IReadOnlyBattleCardInfo> Filtering(IEnumerable<IBattlePlayerReadOnlyInfo> battlePlayerInfos, SkillConditionCheckerOption option)
	{
		List<IReadOnlyBattleCardInfo> list = new List<IReadOnlyBattleCardInfo>();
		for (int i = 0; i < battlePlayerInfos.Count(); i++)
		{
			list.AddRange(battlePlayerInfos.ElementAt(i).SkillInfoGameAddUpdateDeckCards);
		}
		return list;
	}
}
