using System.Collections.Generic;

namespace Wizard;

internal class AIFusionMove : AIMove
{
	public BattleCardBase Src { get; private set; }

	public List<BattleCardBase> Targets { get; private set; }

	public AIFusionMove(BattleCardBase src, List<BattleCardBase> targets)
		: base(AIOperationType.FUSION)
	{
		Src = src;
		Targets = targets;
	}

	public override void RunOperation(BattleManagerBase mgr, bool isPlayer)
	{
		mgr.VfxMgr.RegisterSequentialVfx(mgr.OperateMgr.FusionCard(Src, isPlayer, Targets));
	}
}
