chore: initial commit

This commit is contained in:
2026-05-08 11:04:00 +08:00
commit f55d2a57c3
6278 changed files with 866081 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
using BaseGames.Core.Events;
namespace BaseGames.Core
{
/// <summary>
/// 游戏状态工厂接口。用于 DLC / 扩展模块向 GameStateMachine 注册自定义状态。
/// </summary>
public interface IGameStateFactory
{
/// <summary>根据 ID 创建对应的 IGameState 实例。</summary>
IGameState Create(GameStateId id);
/// <summary>此工厂是否能创建指定 ID 的状态。</summary>
bool CanCreate(GameStateId id);
}
}