新增wasm以优化实体update速度

This commit is contained in:
YHH
2025-06-08 21:50:50 +08:00
parent 0aa4791cf7
commit 8d0ad6b871
51 changed files with 5811 additions and 10773 deletions

View File

@@ -1,8 +1,6 @@
/**
* ECS Framework - 轻量级实体组件系统框架
* 适用于Laya、Cocos等游戏引擎的小游戏开发
* @version 2.0.0
* @author ECS Framework Team
*/
// 核心模块
@@ -16,7 +14,7 @@ export { TimerManager } from './Utils/Timers/TimerManager';
export { ITimer } from './Utils/Timers/ITimer';
export { Timer } from './Utils/Timers/Timer';
// ECS核心
// ECS核心组件
export * from './ECS';
// 工具类
@@ -24,5 +22,16 @@ export * from './Utils/Pool';
export * from './Utils/PerformanceMonitor';
export * from './Utils/Extensions';
// WebAssembly核心模块
export {
WasmEcsCore,
ecsCore,
initializeEcs,
Query,
EntityId,
ComponentMask,
QueryResult
} from './Utils/WasmCore';
// 类型定义
export * from './Types';