/** * 通用 ECS 框架模块(纯 TypeScript,无业务依赖) * * 提供:实体/组件分桶存储 + 声明式查询 + System 注册调度。 * 战斗等业务模块引用本模块实现各子系统。 */ // Component export { EcsComponent } from './Component'; export type { ComponentCtor } from './Component'; // Entity export type { EntityId } from './EntityId'; export { INVALID_ENTITY_ID } from './EntityId'; // World export { World } from './World'; export type { ComponentStorage } from './World'; // View export { View1, View2 } from './View'; // System export { SystemRegistry } from './System'; export type { ISystem, ISystemCtor } from './System';