mani-game-engine 1.0.0-pre.92 → 1.0.0-pre.96
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/systemContext.d.ts +1 -1
- package/package.json +2 -2
- package/src/systemContext.ts +1 -1
package/lib/systemContext.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { System } from './types';
|
|
2
2
|
import { Entity, ID, Signal, SignalCallback } from './index';
|
|
3
|
-
import { AddSignalOptions } from 'mani-signal
|
|
3
|
+
import { AddSignalOptions } from 'mani-signal';
|
|
4
4
|
export declare const entitySignalHandlers: Map<Object, [string, ID][]>;
|
|
5
5
|
export declare const OnEntitySignal: (id: ID) => (target: any, propertyKey: string, descriptor: PropertyDescriptor) => void;
|
|
6
6
|
export declare class SystemContext<T extends System = System> {
|
package/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.96",
|
|
5
5
|
"description": "entity component system game engine for typescript",
|
|
6
6
|
"private": false,
|
|
7
7
|
"scripts": {
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"ts-node": "^10.9.2",
|
|
31
31
|
"tslib": "^2.6.2",
|
|
32
32
|
"typescript": "5.3.3",
|
|
33
|
-
"mani-signal": "^1.1
|
|
33
|
+
"mani-signal": "^1.2.1"
|
|
34
34
|
},
|
|
35
35
|
"peerDependencies": {
|
|
36
36
|
"reflect-metadata": "^0.2.1"
|
package/src/systemContext.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {System} from './types';
|
|
2
2
|
import {Entity, GameEngine, ID, putIfAbsent, Signal, SignalBinding, SignalCallback} from './index';
|
|
3
|
-
import {AddSignalOptions} from 'mani-signal
|
|
3
|
+
import {AddSignalOptions} from 'mani-signal';
|
|
4
4
|
|
|
5
5
|
export const entitySignalHandlers = new Map<Object, [string, ID][]>();
|
|
6
6
|
export const OnEntitySignal = (id: ID) => (target: any, propertyKey: string, descriptor: PropertyDescriptor) => {
|