using UnityEngine;

public class ColosseumResultAnimationHandler : IResultAnimationHandler
{
	private readonly GameObject m_resultAnimationAgentObj;

	private readonly ColosseumResultAnimationAgent m_resultAnimationAgentIns;

	public ResultAnimationAgent m_resultAnimationAgent => m_resultAnimationAgentIns;

	public ColosseumResultAnimationHandler(BattleCamera battleCamera)
	{
		m_resultAnimationAgentObj = new GameObject();
		m_resultAnimationAgentIns = m_resultAnimationAgentObj.AddComponent<ColosseumResultAnimationAgent>();
		m_resultAnimationAgentIns.GetComponent<ColosseumResultAnimationAgent>().SetBattleCamera(battleCamera);
	}

	public void Destroy()
	{
		Object.Destroy(m_resultAnimationAgentObj);
	}
}
