多轮审查和修复

This commit is contained in:
2026-05-12 15:34:08 +08:00
parent f55d2a57c3
commit ebbbb7332e
805 changed files with 838724 additions and 1905 deletions

View File

@@ -0,0 +1,19 @@
namespace BaseGames.Enemies
{
/// <summary>
/// 敌人状态 POCO 接口。
/// EnemyBase.ForceState 通过字典分发 Enter/Exit
/// 枚举 EnemyStateType 保持对外 API 不变。
/// </summary>
public interface IEnemyState
{
/// <summary>对应的枚举值(用于字典键以及 BD 查询)。</summary>
EnemyStateType StateType { get; }
/// <summary>进入此状态时调用。</summary>
void Enter(EnemyBase owner);
/// <summary>离开此状态时调用。</summary>
void Exit(EnemyBase owner);
}
}