feat(enemy): 未发现层/交战层/死亡层三个模块契约

This commit is contained in:
2026-07-29 11:47:29 +08:00
parent 2643f58b08
commit 17e71dac39
6 changed files with 110 additions and 0 deletions
@@ -0,0 +1,16 @@
using BaseGames.AI;
namespace BaseGames.Enemies
{
/// <summary>
/// 死亡层:单态终结(演出交给物理状态机)/ 单段死亡能力 / 两段演出(可带生成物)。
/// 骨架只挂一条 Global → EntryState 的 Died 事件边,链条内容全归本模块。
/// </summary>
public interface IDeathModule
{
void Build(BrainBuilder b);
/// <summary>骨架全局死亡边指向的态。</summary>
string EntryState { get; }
}
}