@burninggarden/engine
Advanced tools
Comparing version 0.0.2 to 0.0.3
{ | ||
"name": "@burninggarden/engine", | ||
"description": "Core game runtime engine", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"private": false, | ||
@@ -6,0 +6,0 @@ "author": "Burning Garden", |
@@ -53,4 +53,2 @@ /** | ||
private handleAction(action: BaseAction) : void { | ||
console.log(this.getStore().getState()); | ||
this.getSystems().forEach(system => { | ||
@@ -57,0 +55,0 @@ system.handleAction(action); |
function updateItem<T extends object>(item: T, attributes: Partial<T>) : T { | ||
function updateItem<T>(item: T, attributes: Partial<T>) : T { | ||
return { | ||
...(item as object), | ||
...(attributes as object) | ||
...item, | ||
...attributes | ||
} as T; | ||
@@ -7,0 +7,0 @@ } |
@@ -37,3 +37,3 @@ import Tap from 'tap'; | ||
protected performClockUpdate(): void { | ||
test.notOk('Received expected update'); | ||
test.notOk('Received unexpected update'); | ||
test.end(); | ||
@@ -40,0 +40,0 @@ } |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
38956
60
1190
0