You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
677 B
25 lines
677 B
/**
|
|
* 通用 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';
|
|
|