2025-06-07 20:32:43 +08:00
|
|
|
/**
|
|
|
|
|
* ECS Framework - 轻量级实体组件系统框架
|
|
|
|
|
* 适用于Laya、Cocos等游戏引擎的小游戏开发
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
// 核心模块
|
|
|
|
|
export { Core } from './Core';
|
|
|
|
|
|
|
|
|
|
// 核心事件和管理器
|
|
|
|
|
export { CoreEvents } from './ECS/CoreEvents';
|
|
|
|
|
export { Emitter, FuncPack } from './Utils/Emitter';
|
|
|
|
|
export { GlobalManager } from './Utils/GlobalManager';
|
|
|
|
|
export { TimerManager } from './Utils/Timers/TimerManager';
|
|
|
|
|
export { ITimer } from './Utils/Timers/ITimer';
|
|
|
|
|
export { Timer } from './Utils/Timers/Timer';
|
|
|
|
|
|
2025-06-08 21:50:50 +08:00
|
|
|
// ECS核心组件
|
2025-06-07 20:32:43 +08:00
|
|
|
export * from './ECS';
|
|
|
|
|
|
|
|
|
|
// 工具类
|
|
|
|
|
export * from './Utils/Pool';
|
|
|
|
|
export * from './Utils/PerformanceMonitor';
|
|
|
|
|
export * from './Utils/Extensions';
|
|
|
|
|
|
2025-06-08 21:50:50 +08:00
|
|
|
// WebAssembly核心模块
|
|
|
|
|
export {
|
|
|
|
|
WasmEcsCore,
|
|
|
|
|
ecsCore,
|
|
|
|
|
initializeEcs,
|
|
|
|
|
Query,
|
|
|
|
|
EntityId,
|
|
|
|
|
ComponentMask,
|
|
|
|
|
QueryResult
|
|
|
|
|
} from './Utils/WasmCore';
|
|
|
|
|
|
2025-06-07 20:32:43 +08:00
|
|
|
// 类型定义
|
|
|
|
|
export * from './Types';
|