using System; using System.Collections; using UnityEngine; using Wizard.Battle.UI; // Post-Phase-5b (2026-07-03) UI stub. BattleControl handles UI-side end-of-battle // scene-change cleanup (DestroyBattleEffectContainer, ResetEnemyData, UIContainer // visibility, iTween tear-down). Every method is only invoked from UI code paths // (DialogBase.OnClose, MyPageBannerBase, FreeAndRankMatchDeckSelectConfirmDialog, // RecoveryManagerBase, SceneTransition) that don't run headless. The type stays // because GameMgr.GetBattleCtrl() lazy-inits it; the method bodies are no-ops. public class BattleControl : MonoBehaviour { public void BattleEnd(UIManager.ViewScene MoveTo, Action callback = null, Action paramCustomize = null, object sceneParam = null) { callback?.Invoke(); } public IEnumerator BattleEnd(Action callback = null) { yield return null; callback?.Invoke(); } }