using Wizard.Battle.View.Vfx;

namespace Wizard.Battle.Phase;

public class LoadingPhase : IPhase
{
	protected readonly BattleManagerBase _battleMgr;

	public LoadingPhase(BattleManagerBase battleMgr)
	{
		_battleMgr = battleMgr;
	}

	public virtual VfxBase Setup()
	{
		return NullVfx.GetInstance();
	}

	public virtual VfxWith<IPhase> Update(float dt)
	{
		return new VfxWith<IPhase>(NullVfx.GetInstance(), null);
	}

	public virtual VfxBase Teardown()
	{
		return new BattleLoadingEndVfx(_battleMgr);
	}

	public virtual void Pause()
	{
	}
}
