摄像机区域的架构改动

This commit is contained in:
2026-05-15 14:47:24 +08:00
parent 1b37297585
commit f264329751
3591 changed files with 1687228 additions and 446503 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);
}
}