namespace Wizard;

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

	public BattleCardBase Target { get; private set; }

	public AIAttackMove(BattleCardBase src, BattleCardBase target)
		: base(AIOperationType.ATTACK)
	{
		Src = src;
		Target = target;
	}

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