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:
gamer147
2026-06-05 20:30:59 -04:00
parent 78f310c2b3
commit 824309ec44
472 changed files with 55870 additions and 0 deletions

View File

@@ -0,0 +1,48 @@
using System;
using UnityEngine;
namespace Wizard;
public class PuzzleWinConditionDisplay : MonoBehaviour
{
[SerializeField]
private UILabel _winConditionLabel;
[SerializeField]
private UIButton _button;
[SerializeField]
private UIPanel _panel;
private bool _isAppeared;
private Action _onComplete;
private const float APPEAR_DURATION = 0.5f;
private const float DISAPPEAR_DURATION = 0.1f;
public void Setup(string winConditionText, Action onComplete)
{
_winConditionLabel.text = winConditionText;
_panel.alpha = 0f;
_button.onClick.Add(new EventDelegate(OnClick));
_onComplete = onComplete;
TweenAlpha.Begin(base.gameObject, 0.5f, 1f).onFinished.Add(new EventDelegate(delegate
{
_isAppeared = true;
}));
}
private void OnClick()
{
if (_isAppeared)
{
GameMgr.GetIns().GetSoundMgr().PlaySe(Se.TYPE.SYS_TOGGLE_ON);
TweenAlpha.Begin(base.gameObject, 0.1f, 0f).onFinished.Add(new EventDelegate(delegate
{
_onComplete();
}));
}
}
}