@esengine/ecs-framework 2.1.3 → 2.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +385 -0
- package/{bin/index.d.ts → index.d.ts} +9 -6
- package/index.js +7 -0
- package/index.js.map +7 -0
- package/package.json +20 -48
- package/bin/Core.d.ts +0 -198
- package/bin/Core.d.ts.map +0 -1
- package/bin/Core.js +0 -247
- package/bin/Core.js.map +0 -1
- package/bin/ECS/Component.d.ts +0 -119
- package/bin/ECS/Component.d.ts.map +0 -1
- package/bin/ECS/Component.js +0 -129
- package/bin/ECS/Component.js.map +0 -1
- package/bin/ECS/Components/IUpdatable.d.ts +0 -22
- package/bin/ECS/Components/IUpdatable.d.ts.map +0 -1
- package/bin/ECS/Components/IUpdatable.js +0 -22
- package/bin/ECS/Components/IUpdatable.js.map +0 -1
- package/bin/ECS/Components/SceneComponent.d.ts +0 -40
- package/bin/ECS/Components/SceneComponent.d.ts.map +0 -1
- package/bin/ECS/Components/SceneComponent.js +0 -61
- package/bin/ECS/Components/SceneComponent.js.map +0 -1
- package/bin/ECS/Core/BitMaskOptimizer.d.ts +0 -75
- package/bin/ECS/Core/BitMaskOptimizer.d.ts.map +0 -1
- package/bin/ECS/Core/BitMaskOptimizer.js +0 -161
- package/bin/ECS/Core/BitMaskOptimizer.js.map +0 -1
- package/bin/ECS/Core/ComponentPool.d.ts +0 -72
- package/bin/ECS/Core/ComponentPool.d.ts.map +0 -1
- package/bin/ECS/Core/ComponentPool.js +0 -123
- package/bin/ECS/Core/ComponentPool.js.map +0 -1
- package/bin/ECS/Core/ComponentStorage.d.ts +0 -182
- package/bin/ECS/Core/ComponentStorage.d.ts.map +0 -1
- package/bin/ECS/Core/ComponentStorage.js +0 -346
- package/bin/ECS/Core/ComponentStorage.js.map +0 -1
- package/bin/ECS/Core/EventSystem.d.ts +0 -236
- package/bin/ECS/Core/EventSystem.d.ts.map +0 -1
- package/bin/ECS/Core/EventSystem.js +0 -476
- package/bin/ECS/Core/EventSystem.js.map +0 -1
- package/bin/ECS/Core/FluentAPI.d.ts +0 -371
- package/bin/ECS/Core/FluentAPI.d.ts.map +0 -1
- package/bin/ECS/Core/FluentAPI.js +0 -543
- package/bin/ECS/Core/FluentAPI.js.map +0 -1
- package/bin/ECS/Core/IndexUpdateBatcher.d.ts +0 -100
- package/bin/ECS/Core/IndexUpdateBatcher.d.ts.map +0 -1
- package/bin/ECS/Core/IndexUpdateBatcher.js +0 -219
- package/bin/ECS/Core/IndexUpdateBatcher.js.map +0 -1
- package/bin/ECS/Core/QuerySystem.d.ts +0 -422
- package/bin/ECS/Core/QuerySystem.d.ts.map +0 -1
- package/bin/ECS/Core/QuerySystem.js +0 -937
- package/bin/ECS/Core/QuerySystem.js.map +0 -1
- package/bin/ECS/CoreEvents.d.ts +0 -19
- package/bin/ECS/CoreEvents.d.ts.map +0 -1
- package/bin/ECS/CoreEvents.js +0 -20
- package/bin/ECS/CoreEvents.js.map +0 -1
- package/bin/ECS/Entity.d.ts +0 -538
- package/bin/ECS/Entity.d.ts.map +0 -1
- package/bin/ECS/Entity.js +0 -1030
- package/bin/ECS/Entity.js.map +0 -1
- package/bin/ECS/Scene.d.ts +0 -226
- package/bin/ECS/Scene.d.ts.map +0 -1
- package/bin/ECS/Scene.js +0 -308
- package/bin/ECS/Scene.js.map +0 -1
- package/bin/ECS/Systems/EntitySystem.d.ts +0 -185
- package/bin/ECS/Systems/EntitySystem.d.ts.map +0 -1
- package/bin/ECS/Systems/EntitySystem.js +0 -278
- package/bin/ECS/Systems/EntitySystem.js.map +0 -1
- package/bin/ECS/Systems/IntervalSystem.d.ts +0 -33
- package/bin/ECS/Systems/IntervalSystem.d.ts.map +0 -1
- package/bin/ECS/Systems/IntervalSystem.js +0 -50
- package/bin/ECS/Systems/IntervalSystem.js.map +0 -1
- package/bin/ECS/Systems/PassiveSystem.d.ts +0 -20
- package/bin/ECS/Systems/PassiveSystem.d.ts.map +0 -1
- package/bin/ECS/Systems/PassiveSystem.js +0 -21
- package/bin/ECS/Systems/PassiveSystem.js.map +0 -1
- package/bin/ECS/Systems/ProcessingSystem.d.ts +0 -24
- package/bin/ECS/Systems/ProcessingSystem.d.ts.map +0 -1
- package/bin/ECS/Systems/ProcessingSystem.js +0 -22
- package/bin/ECS/Systems/ProcessingSystem.js.map +0 -1
- package/bin/ECS/Systems/index.d.ts +0 -5
- package/bin/ECS/Systems/index.d.ts.map +0 -1
- package/bin/ECS/Systems/index.js +0 -6
- package/bin/ECS/Systems/index.js.map +0 -1
- package/bin/ECS/Utils/Bits.d.ts +0 -74
- package/bin/ECS/Utils/Bits.d.ts.map +0 -1
- package/bin/ECS/Utils/Bits.js +0 -142
- package/bin/ECS/Utils/Bits.js.map +0 -1
- package/bin/ECS/Utils/ComponentTypeManager.d.ts +0 -50
- package/bin/ECS/Utils/ComponentTypeManager.d.ts.map +0 -1
- package/bin/ECS/Utils/ComponentTypeManager.js +0 -84
- package/bin/ECS/Utils/ComponentTypeManager.js.map +0 -1
- package/bin/ECS/Utils/EntityList.d.ts +0 -108
- package/bin/ECS/Utils/EntityList.d.ts.map +0 -1
- package/bin/ECS/Utils/EntityList.js +0 -249
- package/bin/ECS/Utils/EntityList.js.map +0 -1
- package/bin/ECS/Utils/EntityProcessorList.d.ts +0 -53
- package/bin/ECS/Utils/EntityProcessorList.d.ts.map +0 -1
- package/bin/ECS/Utils/EntityProcessorList.js +0 -96
- package/bin/ECS/Utils/EntityProcessorList.js.map +0 -1
- package/bin/ECS/Utils/IdentifierPool.d.ts +0 -18
- package/bin/ECS/Utils/IdentifierPool.d.ts.map +0 -1
- package/bin/ECS/Utils/IdentifierPool.js +0 -27
- package/bin/ECS/Utils/IdentifierPool.js.map +0 -1
- package/bin/ECS/Utils/Matcher.d.ts +0 -63
- package/bin/ECS/Utils/Matcher.d.ts.map +0 -1
- package/bin/ECS/Utils/Matcher.js +0 -140
- package/bin/ECS/Utils/Matcher.js.map +0 -1
- package/bin/ECS/Utils/index.d.ts +0 -7
- package/bin/ECS/Utils/index.d.ts.map +0 -1
- package/bin/ECS/Utils/index.js +0 -8
- package/bin/ECS/Utils/index.js.map +0 -1
- package/bin/ECS/index.d.ts +0 -7
- package/bin/ECS/index.d.ts.map +0 -1
- package/bin/ECS/index.js +0 -29
- package/bin/ECS/index.js.map +0 -1
- package/bin/Testing/Performance/benchmark.d.ts +0 -6
- package/bin/Testing/Performance/benchmark.d.ts.map +0 -1
- package/bin/Testing/Performance/benchmark.js +0 -639
- package/bin/Testing/Performance/benchmark.js.map +0 -1
- package/bin/Testing/Performance/component-performance.d.ts +0 -2
- package/bin/Testing/Performance/component-performance.d.ts.map +0 -1
- package/bin/Testing/Performance/component-performance.js +0 -43
- package/bin/Testing/Performance/component-performance.js.map +0 -1
- package/bin/Testing/Unit/bitmask-optimizer.test.d.ts +0 -2
- package/bin/Testing/Unit/bitmask-optimizer.test.d.ts.map +0 -1
- package/bin/Testing/Unit/bitmask-optimizer.test.js +0 -164
- package/bin/Testing/Unit/bitmask-optimizer.test.js.map +0 -1
- package/bin/Testing/Unit/component-pool.test.d.ts +0 -5
- package/bin/Testing/Unit/component-pool.test.d.ts.map +0 -1
- package/bin/Testing/Unit/component-pool.test.js +0 -149
- package/bin/Testing/Unit/component-pool.test.js.map +0 -1
- package/bin/Testing/test-runner.d.ts +0 -51
- package/bin/Testing/test-runner.d.ts.map +0 -1
- package/bin/Testing/test-runner.js +0 -159
- package/bin/Testing/test-runner.js.map +0 -1
- package/bin/Types/index.d.ts +0 -22
- package/bin/Types/index.d.ts.map +0 -1
- package/bin/Types/index.js +0 -20
- package/bin/Types/index.js.map +0 -1
- package/bin/Utils/Emitter.d.ts +0 -43
- package/bin/Utils/Emitter.d.ts.map +0 -1
- package/bin/Utils/Emitter.js +0 -69
- package/bin/Utils/Emitter.js.map +0 -1
- package/bin/Utils/Extensions/NumberExtension.d.ts +0 -13
- package/bin/Utils/Extensions/NumberExtension.d.ts.map +0 -1
- package/bin/Utils/Extensions/NumberExtension.js +0 -17
- package/bin/Utils/Extensions/NumberExtension.js.map +0 -1
- package/bin/Utils/Extensions/TypeUtils.d.ts +0 -13
- package/bin/Utils/Extensions/TypeUtils.d.ts.map +0 -1
- package/bin/Utils/Extensions/TypeUtils.js +0 -15
- package/bin/Utils/Extensions/TypeUtils.js.map +0 -1
- package/bin/Utils/Extensions/index.d.ts +0 -3
- package/bin/Utils/Extensions/index.d.ts.map +0 -1
- package/bin/Utils/Extensions/index.js +0 -4
- package/bin/Utils/Extensions/index.js.map +0 -1
- package/bin/Utils/GlobalManager.d.ts +0 -32
- package/bin/Utils/GlobalManager.d.ts.map +0 -1
- package/bin/Utils/GlobalManager.js +0 -53
- package/bin/Utils/GlobalManager.js.map +0 -1
- package/bin/Utils/PerformanceMonitor.d.ts +0 -211
- package/bin/Utils/PerformanceMonitor.d.ts.map +0 -1
- package/bin/Utils/PerformanceMonitor.js +0 -270
- package/bin/Utils/PerformanceMonitor.js.map +0 -1
- package/bin/Utils/Pool.d.ts +0 -239
- package/bin/Utils/Pool.d.ts.map +0 -1
- package/bin/Utils/Pool.js +0 -449
- package/bin/Utils/Pool.js.map +0 -1
- package/bin/Utils/Time.d.ts +0 -55
- package/bin/Utils/Time.d.ts.map +0 -1
- package/bin/Utils/Time.js +0 -78
- package/bin/Utils/Time.js.map +0 -1
- package/bin/Utils/Timers/ITimer.d.ts +0 -16
- package/bin/Utils/Timers/ITimer.d.ts.map +0 -1
- package/bin/Utils/Timers/ITimer.js +0 -2
- package/bin/Utils/Timers/ITimer.js.map +0 -1
- package/bin/Utils/Timers/Timer.d.ts +0 -22
- package/bin/Utils/Timers/Timer.d.ts.map +0 -1
- package/bin/Utils/Timers/Timer.js +0 -46
- package/bin/Utils/Timers/Timer.js.map +0 -1
- package/bin/Utils/Timers/TimerManager.d.ts +0 -19
- package/bin/Utils/Timers/TimerManager.d.ts.map +0 -1
- package/bin/Utils/Timers/TimerManager.js +0 -33
- package/bin/Utils/Timers/TimerManager.js.map +0 -1
- package/bin/Utils/WasmCore.d.ts +0 -234
- package/bin/Utils/WasmCore.d.ts.map +0 -1
- package/bin/Utils/WasmCore.js +0 -596
- package/bin/Utils/WasmCore.js.map +0 -1
- package/bin/Utils/index.d.ts +0 -16
- package/bin/Utils/index.d.ts.map +0 -1
- package/bin/Utils/index.js +0 -37
- package/bin/Utils/index.js.map +0 -1
- package/bin/index.cjs +0 -51
- package/bin/index.d.ts.map +0 -1
- package/bin/index.esm.d.ts +0 -45
- package/bin/index.esm.d.ts.map +0 -1
- package/bin/index.esm.js +0 -46
- package/bin/index.esm.js.map +0 -1
- package/bin/index.js.map +0 -1
package/bin/index.cjs
DELETED
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* ECS Framework - 轻量级实体组件系统框架
|
|
4
|
-
* 适用于Laya、Cocos等游戏引擎的小游戏开发
|
|
5
|
-
*/
|
|
6
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
7
|
-
if (k2 === undefined) k2 = k;
|
|
8
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
9
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
10
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
11
|
-
}
|
|
12
|
-
Object.defineProperty(o, k2, desc);
|
|
13
|
-
}) : (function(o, m, k, k2) {
|
|
14
|
-
if (k2 === undefined) k2 = k;
|
|
15
|
-
o[k2] = m[k];
|
|
16
|
-
}));
|
|
17
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
18
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
19
|
-
};
|
|
20
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
21
|
-
exports.Query = exports.initializeEcs = exports.ecsCore = exports.WasmEcsCore = exports.Timer = exports.TimerManager = exports.GlobalManager = exports.FuncPack = exports.Emitter = exports.CoreEvents = exports.Core = void 0;
|
|
22
|
-
// 核心模块
|
|
23
|
-
var Core_1 = require("./Core");
|
|
24
|
-
Object.defineProperty(exports, "Core", { enumerable: true, get: function () { return Core_1.Core; } });
|
|
25
|
-
// 核心事件和管理器
|
|
26
|
-
var CoreEvents_1 = require("./ECS/CoreEvents");
|
|
27
|
-
Object.defineProperty(exports, "CoreEvents", { enumerable: true, get: function () { return CoreEvents_1.CoreEvents; } });
|
|
28
|
-
var Emitter_1 = require("./Utils/Emitter");
|
|
29
|
-
Object.defineProperty(exports, "Emitter", { enumerable: true, get: function () { return Emitter_1.Emitter; } });
|
|
30
|
-
Object.defineProperty(exports, "FuncPack", { enumerable: true, get: function () { return Emitter_1.FuncPack; } });
|
|
31
|
-
var GlobalManager_1 = require("./Utils/GlobalManager");
|
|
32
|
-
Object.defineProperty(exports, "GlobalManager", { enumerable: true, get: function () { return GlobalManager_1.GlobalManager; } });
|
|
33
|
-
var TimerManager_1 = require("./Utils/Timers/TimerManager");
|
|
34
|
-
Object.defineProperty(exports, "TimerManager", { enumerable: true, get: function () { return TimerManager_1.TimerManager; } });
|
|
35
|
-
var Timer_1 = require("./Utils/Timers/Timer");
|
|
36
|
-
Object.defineProperty(exports, "Timer", { enumerable: true, get: function () { return Timer_1.Timer; } });
|
|
37
|
-
// ECS核心组件
|
|
38
|
-
__exportStar(require("./ECS"), exports);
|
|
39
|
-
// 工具类
|
|
40
|
-
__exportStar(require("./Utils/Pool"), exports);
|
|
41
|
-
__exportStar(require("./Utils/PerformanceMonitor"), exports);
|
|
42
|
-
__exportStar(require("./Utils/Extensions"), exports);
|
|
43
|
-
// WebAssembly核心模块
|
|
44
|
-
var WasmCore_1 = require("./Utils/WasmCore");
|
|
45
|
-
Object.defineProperty(exports, "WasmEcsCore", { enumerable: true, get: function () { return WasmCore_1.WasmEcsCore; } });
|
|
46
|
-
Object.defineProperty(exports, "ecsCore", { enumerable: true, get: function () { return WasmCore_1.ecsCore; } });
|
|
47
|
-
Object.defineProperty(exports, "initializeEcs", { enumerable: true, get: function () { return WasmCore_1.initializeEcs; } });
|
|
48
|
-
Object.defineProperty(exports, "Query", { enumerable: true, get: function () { return WasmCore_1.Query; } });
|
|
49
|
-
// 类型定义
|
|
50
|
-
__exportStar(require("./Types"), exports);
|
|
51
|
-
//# sourceMappingURL=index.js.map
|
package/bin/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAG9B,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AACtD,OAAO,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAC3D,YAAY,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AACpD,OAAO,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAG7C,cAAc,OAAO,CAAC;AAGtB,cAAc,cAAc,CAAC;AAC7B,cAAc,4BAA4B,CAAC;AAC3C,cAAc,oBAAoB,CAAC;AAGnC,OAAO,EACH,WAAW,EACX,OAAO,EACP,aAAa,EACb,KAAK,EACR,MAAM,kBAAkB,CAAC;AAC1B,YAAY,EACR,QAAQ,EACR,aAAa,EACb,WAAW,EACd,MAAM,kBAAkB,CAAC;AAG1B,cAAc,SAAS,CAAC"}
|
package/bin/index.esm.d.ts
DELETED
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* ECS Framework - ESM版本入口
|
|
3
|
-
* 专为Cocos Creator等ES模块环境设计
|
|
4
|
-
*/
|
|
5
|
-
import { Core } from './Core';
|
|
6
|
-
import { CoreEvents } from './ECS/CoreEvents';
|
|
7
|
-
import { Emitter, FuncPack } from './Utils/Emitter';
|
|
8
|
-
import { GlobalManager } from './Utils/GlobalManager';
|
|
9
|
-
import { TimerManager } from './Utils/Timers/TimerManager';
|
|
10
|
-
import { Timer } from './Utils/Timers/Timer';
|
|
11
|
-
import { Entity } from './ECS/Entity';
|
|
12
|
-
import { Component } from './ECS/Component';
|
|
13
|
-
import { Scene } from './ECS/Scene';
|
|
14
|
-
export { Core } from './Core';
|
|
15
|
-
export { CoreEvents } from './ECS/CoreEvents';
|
|
16
|
-
export { Emitter, FuncPack } from './Utils/Emitter';
|
|
17
|
-
export { GlobalManager } from './Utils/GlobalManager';
|
|
18
|
-
export { TimerManager } from './Utils/Timers/TimerManager';
|
|
19
|
-
export type { ITimer } from './Utils/Timers/ITimer';
|
|
20
|
-
export { Timer } from './Utils/Timers/Timer';
|
|
21
|
-
export { Entity } from './ECS/Entity';
|
|
22
|
-
export { Component } from './ECS/Component';
|
|
23
|
-
export { Scene } from './ECS/Scene';
|
|
24
|
-
export * from './ECS/Systems';
|
|
25
|
-
export * from './ECS/Utils';
|
|
26
|
-
export * from './Utils/Pool';
|
|
27
|
-
export * from './Utils/PerformanceMonitor';
|
|
28
|
-
export * from './Utils/Extensions';
|
|
29
|
-
export { WasmEcsCore, ecsCore, initializeEcs, Query } from './Utils/WasmCore';
|
|
30
|
-
export type { EntityId, ComponentMask, QueryResult } from './Utils/WasmCore';
|
|
31
|
-
export * from './Types';
|
|
32
|
-
declare const ECSFramework: {
|
|
33
|
-
Core: typeof Core;
|
|
34
|
-
CoreEvents: typeof CoreEvents;
|
|
35
|
-
Emitter: typeof Emitter;
|
|
36
|
-
FuncPack: typeof FuncPack;
|
|
37
|
-
GlobalManager: typeof GlobalManager;
|
|
38
|
-
TimerManager: typeof TimerManager;
|
|
39
|
-
Timer: typeof Timer;
|
|
40
|
-
Entity: typeof Entity;
|
|
41
|
-
Component: typeof Component;
|
|
42
|
-
Scene: typeof Scene;
|
|
43
|
-
};
|
|
44
|
-
export default ECSFramework;
|
|
45
|
-
//# sourceMappingURL=index.esm.d.ts.map
|
package/bin/index.esm.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.esm.d.ts","sourceRoot":"","sources":["../src/index.esm.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AACtD,OAAO,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAC3D,OAAO,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAC7C,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AACtC,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAGpC,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AACtD,OAAO,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAC3D,YAAY,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AACpD,OAAO,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAC7C,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AACtC,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AACpC,cAAc,eAAe,CAAC;AAC9B,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,4BAA4B,CAAC;AAC3C,cAAc,oBAAoB,CAAC;AACnC,OAAO,EACH,WAAW,EACX,OAAO,EACP,aAAa,EACb,KAAK,EACR,MAAM,kBAAkB,CAAC;AAC1B,YAAY,EACR,QAAQ,EACR,aAAa,EACb,WAAW,EACd,MAAM,kBAAkB,CAAC;AAC1B,cAAc,SAAS,CAAC;AAGxB,QAAA,MAAM,YAAY;;;;;;;;;;;CAWjB,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
package/bin/index.esm.js
DELETED
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* ECS Framework - ESM版本入口
|
|
3
|
-
* 专为Cocos Creator等ES模块环境设计
|
|
4
|
-
*/
|
|
5
|
-
// 导入所有模块
|
|
6
|
-
import { Core } from './Core';
|
|
7
|
-
import { CoreEvents } from './ECS/CoreEvents';
|
|
8
|
-
import { Emitter, FuncPack } from './Utils/Emitter';
|
|
9
|
-
import { GlobalManager } from './Utils/GlobalManager';
|
|
10
|
-
import { TimerManager } from './Utils/Timers/TimerManager';
|
|
11
|
-
import { Timer } from './Utils/Timers/Timer';
|
|
12
|
-
import { Entity } from './ECS/Entity';
|
|
13
|
-
import { Component } from './ECS/Component';
|
|
14
|
-
import { Scene } from './ECS/Scene';
|
|
15
|
-
// 重新导出所有内容
|
|
16
|
-
export { Core } from './Core';
|
|
17
|
-
export { CoreEvents } from './ECS/CoreEvents';
|
|
18
|
-
export { Emitter, FuncPack } from './Utils/Emitter';
|
|
19
|
-
export { GlobalManager } from './Utils/GlobalManager';
|
|
20
|
-
export { TimerManager } from './Utils/Timers/TimerManager';
|
|
21
|
-
export { Timer } from './Utils/Timers/Timer';
|
|
22
|
-
export { Entity } from './ECS/Entity';
|
|
23
|
-
export { Component } from './ECS/Component';
|
|
24
|
-
export { Scene } from './ECS/Scene';
|
|
25
|
-
export * from './ECS/Systems';
|
|
26
|
-
export * from './ECS/Utils';
|
|
27
|
-
export * from './Utils/Pool';
|
|
28
|
-
export * from './Utils/PerformanceMonitor';
|
|
29
|
-
export * from './Utils/Extensions';
|
|
30
|
-
export { WasmEcsCore, ecsCore, initializeEcs, Query } from './Utils/WasmCore';
|
|
31
|
-
export * from './Types';
|
|
32
|
-
// 创建默认导出对象,包含所有主要类
|
|
33
|
-
const ECSFramework = {
|
|
34
|
-
Core,
|
|
35
|
-
CoreEvents,
|
|
36
|
-
Emitter,
|
|
37
|
-
FuncPack,
|
|
38
|
-
GlobalManager,
|
|
39
|
-
TimerManager,
|
|
40
|
-
Timer,
|
|
41
|
-
Entity,
|
|
42
|
-
Component,
|
|
43
|
-
Scene
|
|
44
|
-
};
|
|
45
|
-
export default ECSFramework;
|
|
46
|
-
//# sourceMappingURL=index.esm.js.map
|
package/bin/index.esm.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.esm.js","sourceRoot":"","sources":["../src/index.esm.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,SAAS;AACT,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AACtD,OAAO,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAC3D,OAAO,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAC7C,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AACtC,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAEpC,WAAW;AACX,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AACtD,OAAO,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAE3D,OAAO,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAC7C,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AACtC,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AACpC,cAAc,eAAe,CAAC;AAC9B,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,4BAA4B,CAAC;AAC3C,cAAc,oBAAoB,CAAC;AACnC,OAAO,EACH,WAAW,EACX,OAAO,EACP,aAAa,EACb,KAAK,EACR,MAAM,kBAAkB,CAAC;AAM1B,cAAc,SAAS,CAAC;AAExB,mBAAmB;AACnB,MAAM,YAAY,GAAG;IACjB,IAAI;IACJ,UAAU;IACV,OAAO;IACP,QAAQ;IACR,aAAa;IACb,YAAY;IACZ,KAAK;IACL,MAAM;IACN,SAAS;IACT,KAAK;CACR,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
package/bin/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;;;;;;;;;;;;;;;AAEH,OAAO;AACP,+BAA8B;AAArB,4FAAA,IAAI,OAAA;AAEb,WAAW;AACX,+CAA8C;AAArC,wGAAA,UAAU,OAAA;AACnB,2CAAoD;AAA3C,kGAAA,OAAO,OAAA;AAAE,mGAAA,QAAQ,OAAA;AAC1B,uDAAsD;AAA7C,8GAAA,aAAa,OAAA;AACtB,4DAA2D;AAAlD,4GAAA,YAAY,OAAA;AAErB,8CAA6C;AAApC,8FAAA,KAAK,OAAA;AAEd,UAAU;AACV,wCAAsB;AAEtB,MAAM;AACN,+CAA6B;AAC7B,6DAA2C;AAC3C,qDAAmC;AAEnC,kBAAkB;AAClB,6CAK0B;AAJtB,uGAAA,WAAW,OAAA;AACX,mGAAA,OAAO,OAAA;AACP,yGAAA,aAAa,OAAA;AACb,iGAAA,KAAK,OAAA;AAQT,OAAO;AACP,0CAAwB"}
|