@akashic/akashic-engine
Advanced tools
Comparing version 3.16.0 to 3.16.1
@@ -690,2 +690,3 @@ "use strict"; | ||
Game.prototype._reset = function (param) { | ||
var _a; | ||
this.operationPluginManager.reset(); | ||
@@ -709,4 +710,2 @@ this.operationPluginManager.onOperate.add(this._onOperationPluginOperated.fire, this._onOperationPluginOperated); | ||
this.age = param.age; | ||
if (param.nextEntityId !== undefined) | ||
this._idx = param.nextEntityId; | ||
if (param.randGenSer !== undefined) { | ||
@@ -734,3 +733,3 @@ this.random = XorshiftRandomGenerator_1.XorshiftRandomGenerator.deserialize(param.randGenSer); | ||
this.onLeave.add(this._handleLeaveEvent, this); | ||
this._idx = 0; | ||
this._idx = (_a = param === null || param === void 0 ? void 0 : param.nextEntityId) !== null && _a !== void 0 ? _a : 0; | ||
this._localIdx = 0; | ||
@@ -737,0 +736,0 @@ this._cameraIdx = 0; |
{ | ||
"name": "@akashic/akashic-engine", | ||
"version": "3.16.0", | ||
"version": "3.16.1", | ||
"description": "The core library of Akashic Engine", | ||
@@ -13,15 +13,15 @@ "main": "index.js", | ||
"devDependencies": { | ||
"@akashic/eslint-config": "1.1.1", | ||
"@akashic/eslint-config": "2.0.0", | ||
"@akashic/pdi-common-impl": "^1.4.0", | ||
"@types/jest": "^29.0.0", | ||
"@typescript-eslint/eslint-plugin": "^5.29.0", | ||
"eslint": "^8.18.0", | ||
"eslint-config-prettier": "^8.5.0", | ||
"eslint-plugin-import": "^2.26.0", | ||
"eslint-plugin-jest": "^27.0.0", | ||
"eslint-plugin-prettier": "^4.0.0", | ||
"@typescript-eslint/eslint-plugin": "^6.7.5", | ||
"eslint": "^8.51.0", | ||
"eslint-config-prettier": "^9.0.0", | ||
"eslint-plugin-import": "^2.28.1", | ||
"eslint-plugin-jest": "^27.4.2", | ||
"eslint-plugin-prettier": "^5.0.1", | ||
"jest": "^29.0.0", | ||
"prettier": "^2.7.1", | ||
"rimraf": "^4.0.0", | ||
"rollup": "^3.2.5", | ||
"prettier": "^3.0.3", | ||
"rimraf": "^5.0.0", | ||
"rollup": "^4.0.0", | ||
"rollup-plugin-commonjs": "^10.1.0", | ||
@@ -28,0 +28,0 @@ "rollup-plugin-minification": "^0.2.0", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
1577246
27155