feat(battle-engine): M1 auto-copy closure (782 battle-logic files)
Compile-driven bulk-copy loop (tools/engine-port/m1_copy_loop.py) pulled the precise reference closure of the battle-core roots, stopping at the classify god-object/View-VFX-UI boundary. 782 files; no re-explosion (M0 had estimated ~order 1000). Residual frontier = 52 shim-classified + 80 external (Unity/BCL) types to author next.
This commit is contained in:
14
SVSim.BattleEngine/Engine/Wizard.Battle.Phase/IPhase.cs
Normal file
14
SVSim.BattleEngine/Engine/Wizard.Battle.Phase/IPhase.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
using Wizard.Battle.View.Vfx;
|
||||
|
||||
namespace Wizard.Battle.Phase;
|
||||
|
||||
public interface IPhase
|
||||
{
|
||||
VfxBase Setup();
|
||||
|
||||
VfxWith<IPhase> Update(float dt);
|
||||
|
||||
VfxBase Teardown();
|
||||
|
||||
void Pause();
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
namespace Wizard.Battle.Phase;
|
||||
|
||||
public interface IPhaseCreator
|
||||
{
|
||||
IPhase CreateFirstPhase();
|
||||
|
||||
IPhase CreateOpeningPhase();
|
||||
|
||||
IPhase CreateMulliganPhase();
|
||||
|
||||
IPhase CreateMainPhase();
|
||||
|
||||
IResultPhase CreateResultPhase(bool winnerIsPlayer);
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
using System;
|
||||
|
||||
namespace Wizard.Battle.Phase;
|
||||
|
||||
public interface IResultPhase : IPhase
|
||||
{
|
||||
event Action OnSetupEnd;
|
||||
}
|
||||
Reference in New Issue
Block a user