feat(battle-engine): close the AI-simulation subsystem (verbatim)
Copied the 89 uncopied AI*SimulationUtility/extension files defining the AIVirtualCard/AIVirtualField extension methods; the compile loop then auto-closed the revealed type deps (~3049 files total, drift-clean). 10.0k -> 62 errors.
This commit is contained in:
22
SVSim.BattleEngine/Engine/TutorialResultAnimationHandler.cs
Normal file
22
SVSim.BattleEngine/Engine/TutorialResultAnimationHandler.cs
Normal file
@@ -0,0 +1,22 @@
|
||||
using UnityEngine;
|
||||
|
||||
public class TutorialResultAnimationHandler : IResultAnimationHandler
|
||||
{
|
||||
private readonly GameObject m_resultAnimationAgentObj;
|
||||
|
||||
private readonly TutorialResultAnimationAgent m_resultAnimationAgentIns;
|
||||
|
||||
public ResultAnimationAgent m_resultAnimationAgent => m_resultAnimationAgentIns;
|
||||
|
||||
public TutorialResultAnimationHandler(BattleCamera battleCamera)
|
||||
{
|
||||
m_resultAnimationAgentObj = new GameObject();
|
||||
m_resultAnimationAgentIns = m_resultAnimationAgentObj.AddComponent<TutorialResultAnimationAgent>();
|
||||
m_resultAnimationAgentIns.GetComponent<TutorialResultAnimationAgent>().SetBattleCamera(battleCamera);
|
||||
}
|
||||
|
||||
public void Destroy()
|
||||
{
|
||||
Object.Destroy(m_resultAnimationAgentObj);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user