重构项目结构:整理gitignore,移动source目录到根目录,统一依赖管理

This commit is contained in:
YHH
2025-06-09 14:51:26 +08:00
parent ec5f70ecfc
commit f2d3880a06
89 changed files with 3912 additions and 6820 deletions

22
src/index.ts Normal file
View File

@@ -0,0 +1,22 @@
/**
* 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';
// ECS核心组件
export * from './ECS';
// 工具类和类型定义
export * from './Utils';
export * from './Types';