mani-game-engine 1.0.0-pre.53 → 1.0.0-pre.54
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/lib/index.d.ts +2 -2
- package/lib/index.js +2 -1
- package/lib/index.js.map +1 -1
- package/package.json +3 -4
- package/src/index.ts +2 -2
package/lib/index.d.ts
CHANGED
|
@@ -5,8 +5,8 @@ export { Scope, SCOPE_CONTEXT, ScopeContext, OnScopeSignal, scopeSignalHandlers,
|
|
|
5
5
|
export { SystemContext, OnEntitySignal } from './systemContext';
|
|
6
6
|
export { EcsInjector, EntityComponent, GetComponent, GetDynamicComponent, GetEntity, GetContext, GetSignal, OnSignal, GetEntitySignal, } from './ecsInjector';
|
|
7
7
|
import { ID, Inject, InjectId, Injector, InjectType, putIfAbsent } from './injector';
|
|
8
|
-
import { Signal, SignalBinding, SignalCallback } from 'mani-signal';
|
|
8
|
+
import { Signal, SignalBinding, SignalCallback, signalGroup } from 'mani-signal';
|
|
9
9
|
import { Clock } from './clock';
|
|
10
10
|
export { Injector, InjectType, InjectId, Inject, putIfAbsent, ID };
|
|
11
11
|
export { Clock };
|
|
12
|
-
export { Signal, SignalBinding, SignalCallback };
|
|
12
|
+
export { Signal, SignalBinding, SignalCallback, signalGroup };
|
package/lib/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Signal = exports.putIfAbsent = exports.Inject = exports.InjectId = exports.InjectType = exports.Injector = exports.GetEntitySignal = exports.OnSignal = exports.GetSignal = exports.GetContext = exports.GetEntity = exports.GetDynamicComponent = exports.GetComponent = exports.EntityComponent = exports.EcsInjector = exports.OnEntitySignal = exports.SystemContext = exports.scopeSignalHandlers = exports.OnScopeSignal = exports.ScopeContext = exports.SCOPE_CONTEXT = exports.EngineSignals = exports.Entity = exports.GameEngine = void 0;
|
|
3
|
+
exports.signalGroup = exports.Signal = exports.putIfAbsent = exports.Inject = exports.InjectId = exports.InjectType = exports.Injector = exports.GetEntitySignal = exports.OnSignal = exports.GetSignal = exports.GetContext = exports.GetEntity = exports.GetDynamicComponent = exports.GetComponent = exports.EntityComponent = exports.EcsInjector = exports.OnEntitySignal = exports.SystemContext = exports.scopeSignalHandlers = exports.OnScopeSignal = exports.ScopeContext = exports.SCOPE_CONTEXT = exports.EngineSignals = exports.Entity = exports.GameEngine = void 0;
|
|
4
4
|
var gameEngine_1 = require("./gameEngine");
|
|
5
5
|
Object.defineProperty(exports, "GameEngine", { enumerable: true, get: function () { return gameEngine_1.GameEngine; } });
|
|
6
6
|
var entity_1 = require("./entity");
|
|
@@ -33,4 +33,5 @@ Object.defineProperty(exports, "InjectType", { enumerable: true, get: function (
|
|
|
33
33
|
Object.defineProperty(exports, "putIfAbsent", { enumerable: true, get: function () { return injector_1.putIfAbsent; } });
|
|
34
34
|
const mani_signal_1 = require("mani-signal");
|
|
35
35
|
Object.defineProperty(exports, "Signal", { enumerable: true, get: function () { return mani_signal_1.Signal; } });
|
|
36
|
+
Object.defineProperty(exports, "signalGroup", { enumerable: true, get: function () { return mani_signal_1.signalGroup; } });
|
|
36
37
|
//# sourceMappingURL=index.js.map
|
package/lib/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAAA,2CAA2D;AAAnD,wGAAA,UAAU,OAAA;AAClB,mCAAgC;AAAxB,gGAAA,MAAM,OAAA;AACd,iCAaiB;AARb,sGAAA,aAAa,OAAA;AASjB,qDAE8B;AADnB,6GAAA,aAAa,OAAA;AAAE,4GAAA,YAAY,OAAA;AAAE,6GAAA,aAAa,OAAA;AAAE,mHAAA,mBAAmB,OAAA;AAE1E,iDAA8D;AAAtD,8GAAA,aAAa,OAAA;AAAE,+GAAA,cAAc,OAAA;AACrC,6CAA4J;AAApJ,0GAAA,WAAW,OAAA;AAAE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package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mani-game-engine",
|
|
3
3
|
"author": "Jan Mankopf",
|
|
4
|
-
"version": "1.0.0-pre.
|
|
4
|
+
"version": "1.0.0-pre.54",
|
|
5
5
|
"description": "entity component system game engine for typescript",
|
|
6
6
|
"private": false,
|
|
7
7
|
"scripts": {
|
|
@@ -30,10 +30,9 @@
|
|
|
30
30
|
"ts-node": "^10.9.1",
|
|
31
31
|
"tslib": "^2.4.1",
|
|
32
32
|
"typescript": "^4.9.3",
|
|
33
|
-
"mani-signal": "^1.0.
|
|
33
|
+
"mani-signal": "^1.0.9"
|
|
34
34
|
},
|
|
35
35
|
"peerDependencies": {
|
|
36
|
-
"reflect-metadata": "^0.1.13"
|
|
37
|
-
"mani-signal": "^1.0.7"
|
|
36
|
+
"reflect-metadata": "^0.1.13"
|
|
38
37
|
}
|
|
39
38
|
}
|
package/src/index.ts
CHANGED
|
@@ -23,11 +23,11 @@ export {EcsInjector, EntityComponent, GetComponent,GetDynamicComponent, GetEntit
|
|
|
23
23
|
// intellij doesnt auto resolve imports if we just export * from an external dependency
|
|
24
24
|
|
|
25
25
|
import {ID, Inject, InjectId, Injector, InjectType, putIfAbsent} from './injector';
|
|
26
|
-
import {Signal, SignalBinding, SignalCallback} from 'mani-signal';
|
|
26
|
+
import {Signal, SignalBinding, SignalCallback, signalGroup} from 'mani-signal';
|
|
27
27
|
import {Clock} from './clock';
|
|
28
28
|
|
|
29
29
|
export {Injector, InjectType, InjectId, Inject, putIfAbsent, ID};
|
|
30
30
|
|
|
31
31
|
export {Clock};
|
|
32
32
|
|
|
33
|
-
export {Signal, SignalBinding, SignalCallback};
|
|
33
|
+
export {Signal, SignalBinding, SignalCallback, signalGroup};
|