@eva/eva.js 1.2.7-editor.7 → 1.2.8-fix.1
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/dist/EVA.js +191 -394
- package/dist/EVA.min.js +1 -1
- package/dist/eva.js.cjs.js +131 -196
- package/dist/eva.js.cjs.prod.js +2 -2
- package/dist/eva.js.d.ts +8 -18
- package/dist/eva.js.esm.js +131 -197
- package/package.json +2 -3
- package/dist/miniprogram.js +0 -3774
package/dist/EVA.js
CHANGED
|
@@ -3,13 +3,6 @@ function _extends() { _extends = Object.assign || function (target) { for (var i
|
|
|
3
3
|
var _EVA_IIFE_EVA = function (exports) {
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
function createCommonjsModule(fn) {
|
|
7
|
-
var module = {
|
|
8
|
-
exports: {}
|
|
9
|
-
};
|
|
10
|
-
return fn(module, module.exports), module.exports;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
6
|
var _extendStatics$ = function extendStatics$1(d, b) {
|
|
14
7
|
_extendStatics$ = Object.setPrototypeOf || {
|
|
15
8
|
__proto__: []
|
|
@@ -17,7 +10,7 @@ var _EVA_IIFE_EVA = function (exports) {
|
|
|
17
10
|
d.__proto__ = b;
|
|
18
11
|
} || function (d, b) {
|
|
19
12
|
for (var p in b) {
|
|
20
|
-
if (
|
|
13
|
+
if (b.hasOwnProperty(p)) d[p] = b[p];
|
|
21
14
|
}
|
|
22
15
|
};
|
|
23
16
|
|
|
@@ -25,8 +18,6 @@ var _EVA_IIFE_EVA = function (exports) {
|
|
|
25
18
|
};
|
|
26
19
|
|
|
27
20
|
function __extends$1(d, b) {
|
|
28
|
-
if (typeof b !== "function" && b !== null) throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
29
|
-
|
|
30
21
|
_extendStatics$(d, b);
|
|
31
22
|
|
|
32
23
|
function __() {
|
|
@@ -36,22 +27,6 @@ var _EVA_IIFE_EVA = function (exports) {
|
|
|
36
27
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
37
28
|
}
|
|
38
29
|
|
|
39
|
-
var _assign = function __assign() {
|
|
40
|
-
_assign = Object.assign || function __assign(t) {
|
|
41
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
42
|
-
s = arguments[i];
|
|
43
|
-
|
|
44
|
-
for (var p in s) {
|
|
45
|
-
if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
return t;
|
|
50
|
-
};
|
|
51
|
-
|
|
52
|
-
return _assign.apply(this, arguments);
|
|
53
|
-
};
|
|
54
|
-
|
|
55
30
|
function __decorate(decorators, target, key, desc) {
|
|
56
31
|
var c = arguments.length,
|
|
57
32
|
r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,
|
|
@@ -62,10 +37,6 @@ var _EVA_IIFE_EVA = function (exports) {
|
|
|
62
37
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
63
38
|
}
|
|
64
39
|
|
|
65
|
-
function __metadata(metadataKey, metadataValue) {
|
|
66
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue);
|
|
67
|
-
}
|
|
68
|
-
|
|
69
40
|
function __awaiter(thisArg, _arguments, P, generator) {
|
|
70
41
|
function adopt(value) {
|
|
71
42
|
return value instanceof P ? value : new P(function (resolve) {
|
|
@@ -261,6 +232,13 @@ var _EVA_IIFE_EVA = function (exports) {
|
|
|
261
232
|
return ar;
|
|
262
233
|
}
|
|
263
234
|
|
|
235
|
+
function createCommonjsModule(fn) {
|
|
236
|
+
var module = {
|
|
237
|
+
exports: {}
|
|
238
|
+
};
|
|
239
|
+
return fn(module, module.exports), module.exports;
|
|
240
|
+
}
|
|
241
|
+
|
|
264
242
|
var eventemitter3 = createCommonjsModule(function (module) {
|
|
265
243
|
var has = Object.prototype.hasOwnProperty,
|
|
266
244
|
prefix = '~';
|
|
@@ -1823,187 +1801,34 @@ var _EVA_IIFE_EVA = function (exports) {
|
|
|
1823
1801
|
systemInstance[S.systemName] = system;
|
|
1824
1802
|
}
|
|
1825
1803
|
|
|
1826
|
-
|
|
1827
|
-
|
|
1828
|
-
|
|
1829
|
-
function SymbolKeysNotSupportedError() {
|
|
1830
|
-
var _newTarget = this.constructor;
|
|
1831
|
-
|
|
1832
|
-
var _this = _super.call(this, 'Symbol keys are not supported yet!') || this;
|
|
1833
|
-
|
|
1834
|
-
Object.setPrototypeOf(_this, _newTarget.prototype);
|
|
1835
|
-
return _this;
|
|
1836
|
-
}
|
|
1837
|
-
|
|
1838
|
-
return SymbolKeysNotSupportedError;
|
|
1839
|
-
}(Error);
|
|
1840
|
-
|
|
1841
|
-
(function (_super) {
|
|
1842
|
-
__extends$1(StaticGetPropertiesIsNotAFunctionError, _super);
|
|
1843
|
-
|
|
1844
|
-
function StaticGetPropertiesIsNotAFunctionError() {
|
|
1845
|
-
var _newTarget = this.constructor;
|
|
1846
|
-
|
|
1847
|
-
var _this = _super.call(this, 'getProperties is not a function!') || this;
|
|
1848
|
-
|
|
1849
|
-
Object.setPrototypeOf(_this, _newTarget.prototype);
|
|
1850
|
-
return _this;
|
|
1851
|
-
}
|
|
1852
|
-
|
|
1853
|
-
return StaticGetPropertiesIsNotAFunctionError;
|
|
1854
|
-
})(Error);
|
|
1855
|
-
|
|
1856
|
-
var IDE_PROPERTY_METADATA = 'IDE_PROPERTY_METADATA';
|
|
1857
|
-
var COMPONENT_EXECUTE_MODE_METADATA = 'COMPONENT_EXECUTE_MODE_METADATA';
|
|
1858
|
-
|
|
1859
|
-
function transformBasicType(type) {
|
|
1860
|
-
if (type === String) {
|
|
1861
|
-
return 'string';
|
|
1862
|
-
}
|
|
1863
|
-
|
|
1864
|
-
if (type === Number) {
|
|
1865
|
-
return 'number';
|
|
1866
|
-
}
|
|
1867
|
-
|
|
1868
|
-
if (type === Boolean) {
|
|
1869
|
-
return 'boolean';
|
|
1870
|
-
}
|
|
1871
|
-
|
|
1872
|
-
return 'unknown';
|
|
1873
|
-
}
|
|
1874
|
-
|
|
1875
|
-
function defineTypes(target, key, options, returnTypeFunction) {
|
|
1876
|
-
var type = Reflect.getMetadata('design:type', target, key);
|
|
1877
|
-
var isArray = type === Array;
|
|
1878
|
-
var str = transformBasicType(type);
|
|
1879
|
-
|
|
1880
|
-
if (str !== 'unknown') {
|
|
1881
|
-
type = str;
|
|
1804
|
+
function getIDEPropsPropertyObj(target, propertyKey) {
|
|
1805
|
+
if (!target.constructor.IDEProps) {
|
|
1806
|
+
target.constructor.IDEProps = {};
|
|
1882
1807
|
}
|
|
1883
1808
|
|
|
1884
|
-
if (
|
|
1885
|
-
|
|
1886
|
-
|
|
1887
|
-
if (Array.isArray(returnType)) {
|
|
1888
|
-
isArray = true;
|
|
1889
|
-
type = returnType[0];
|
|
1890
|
-
} else {
|
|
1891
|
-
type = returnType;
|
|
1892
|
-
}
|
|
1809
|
+
if (!target.constructor.IDEProps[propertyKey]) {
|
|
1810
|
+
target.constructor.IDEProps[propertyKey] = {};
|
|
1893
1811
|
}
|
|
1894
1812
|
|
|
1895
|
-
var
|
|
1896
|
-
|
|
1897
|
-
type: type,
|
|
1898
|
-
isArray: isArray
|
|
1899
|
-
}, options);
|
|
1900
|
-
Reflect.defineMetadata(IDE_PROPERTY_METADATA, properties, target.constructor);
|
|
1813
|
+
var propertyObj = target.constructor.IDEProps[propertyKey];
|
|
1814
|
+
return propertyObj;
|
|
1901
1815
|
}
|
|
1902
1816
|
|
|
1903
|
-
function
|
|
1904
|
-
|
|
1905
|
-
|
|
1906
|
-
|
|
1907
|
-
|
|
1908
|
-
};
|
|
1909
|
-
}
|
|
1910
|
-
|
|
1911
|
-
return {
|
|
1912
|
-
options: returnTypeFuncOrOptions || {}
|
|
1817
|
+
function type(type) {
|
|
1818
|
+
return function (target, propertyKey) {
|
|
1819
|
+
var prop = getIDEPropsPropertyObj(target, propertyKey);
|
|
1820
|
+
prop.key = propertyKey;
|
|
1821
|
+
prop.type = type;
|
|
1913
1822
|
};
|
|
1914
1823
|
}
|
|
1915
1824
|
|
|
1916
|
-
function
|
|
1825
|
+
function step(step) {
|
|
1917
1826
|
return function (target, propertyKey) {
|
|
1918
|
-
|
|
1919
|
-
|
|
1920
|
-
}
|
|
1921
|
-
|
|
1922
|
-
var _a = getTypeDecoratorParams(returnTypeFunction, maybeOptions),
|
|
1923
|
-
options = _a.options,
|
|
1924
|
-
returnTypeFunc = _a.returnTypeFunc;
|
|
1925
|
-
|
|
1926
|
-
defineTypes(target, propertyKey, options, returnTypeFunc);
|
|
1827
|
+
var prop = getIDEPropsPropertyObj(target, propertyKey);
|
|
1828
|
+
prop.step = step;
|
|
1927
1829
|
};
|
|
1928
1830
|
}
|
|
1929
1831
|
|
|
1930
|
-
var ExecuteMode;
|
|
1931
|
-
|
|
1932
|
-
(function (ExecuteMode) {
|
|
1933
|
-
ExecuteMode[ExecuteMode["Edit"] = 2] = "Edit";
|
|
1934
|
-
ExecuteMode[ExecuteMode["Game"] = 4] = "Game";
|
|
1935
|
-
ExecuteMode[ExecuteMode["All"] = 6] = "All";
|
|
1936
|
-
})(ExecuteMode || (ExecuteMode = {}));
|
|
1937
|
-
|
|
1938
|
-
var shouldExecuteInEditMode = function shouldExecuteInEditMode(target) {
|
|
1939
|
-
var mode = Reflect.getMetadata(COMPONENT_EXECUTE_MODE_METADATA, target);
|
|
1940
|
-
return !!(mode & ExecuteMode.Edit);
|
|
1941
|
-
};
|
|
1942
|
-
|
|
1943
|
-
var Vector2 = function () {
|
|
1944
|
-
function Vector2() {}
|
|
1945
|
-
|
|
1946
|
-
__decorate([Field({
|
|
1947
|
-
step: 0.1,
|
|
1948
|
-
default: 0
|
|
1949
|
-
}), __metadata("design:type", Number)], Vector2.prototype, "x", void 0);
|
|
1950
|
-
|
|
1951
|
-
__decorate([Field({
|
|
1952
|
-
step: 0.1,
|
|
1953
|
-
default: 0
|
|
1954
|
-
}), __metadata("design:type", Number)], Vector2.prototype, "y", void 0);
|
|
1955
|
-
|
|
1956
|
-
return Vector2;
|
|
1957
|
-
}();
|
|
1958
|
-
|
|
1959
|
-
var IntVector2 = function () {
|
|
1960
|
-
function IntVector2() {}
|
|
1961
|
-
|
|
1962
|
-
__decorate([Field({
|
|
1963
|
-
step: 1,
|
|
1964
|
-
default: 0
|
|
1965
|
-
}), __metadata("design:type", Number)], IntVector2.prototype, "x", void 0);
|
|
1966
|
-
|
|
1967
|
-
__decorate([Field({
|
|
1968
|
-
step: 1,
|
|
1969
|
-
default: 0
|
|
1970
|
-
}), __metadata("design:type", Number)], IntVector2.prototype, "y", void 0);
|
|
1971
|
-
|
|
1972
|
-
return IntVector2;
|
|
1973
|
-
}();
|
|
1974
|
-
|
|
1975
|
-
var Size2 = function () {
|
|
1976
|
-
function Size2() {}
|
|
1977
|
-
|
|
1978
|
-
__decorate([Field({
|
|
1979
|
-
step: 1,
|
|
1980
|
-
default: 0
|
|
1981
|
-
}), __metadata("design:type", Number)], Size2.prototype, "width", void 0);
|
|
1982
|
-
|
|
1983
|
-
__decorate([Field({
|
|
1984
|
-
step: 1,
|
|
1985
|
-
default: 0
|
|
1986
|
-
}), __metadata("design:type", Number)], Size2.prototype, "height", void 0);
|
|
1987
|
-
|
|
1988
|
-
return Size2;
|
|
1989
|
-
}();
|
|
1990
|
-
|
|
1991
|
-
var Scale = function () {
|
|
1992
|
-
function Scale() {}
|
|
1993
|
-
|
|
1994
|
-
__decorate([Field({
|
|
1995
|
-
step: 0.1,
|
|
1996
|
-
default: 1
|
|
1997
|
-
}), __metadata("design:type", Number)], Scale.prototype, "x", void 0);
|
|
1998
|
-
|
|
1999
|
-
__decorate([Field({
|
|
2000
|
-
step: 0.1,
|
|
2001
|
-
default: 1
|
|
2002
|
-
}), __metadata("design:type", Number)], Scale.prototype, "y", void 0);
|
|
2003
|
-
|
|
2004
|
-
return Scale;
|
|
2005
|
-
}();
|
|
2006
|
-
|
|
2007
1832
|
var Transform = function (_super) {
|
|
2008
1833
|
__extends$1(Transform, _super);
|
|
2009
1834
|
|
|
@@ -2012,7 +1837,6 @@ var _EVA_IIFE_EVA = function (exports) {
|
|
|
2012
1837
|
|
|
2013
1838
|
_this.name = 'Transform';
|
|
2014
1839
|
_this._parent = null;
|
|
2015
|
-
_this.childIndex = -1;
|
|
2016
1840
|
_this.inScene = false;
|
|
2017
1841
|
_this.children = [];
|
|
2018
1842
|
_this.position = {
|
|
@@ -2089,17 +1913,17 @@ var _EVA_IIFE_EVA = function (exports) {
|
|
|
2089
1913
|
});
|
|
2090
1914
|
|
|
2091
1915
|
Transform.prototype.addChild = function (child) {
|
|
2092
|
-
if (child.parent) {
|
|
1916
|
+
if (child.parent === this) {
|
|
1917
|
+
var index = this.children.findIndex(function (item) {
|
|
1918
|
+
return item === child;
|
|
1919
|
+
});
|
|
1920
|
+
this.children.splice(index, 1);
|
|
1921
|
+
} else if (child.parent) {
|
|
2093
1922
|
child.parent.removeChild(child);
|
|
2094
1923
|
}
|
|
2095
1924
|
|
|
2096
1925
|
child._parent = this;
|
|
2097
|
-
|
|
2098
|
-
if (child.childIndex > -1) {
|
|
2099
|
-
this.children.splice(child.childIndex, 0, child);
|
|
2100
|
-
} else {
|
|
2101
|
-
this.children.push(child);
|
|
2102
|
-
}
|
|
1926
|
+
this.children.push(child);
|
|
2103
1927
|
};
|
|
2104
1928
|
|
|
2105
1929
|
Transform.prototype.removeChild = function (child) {
|
|
@@ -2119,33 +1943,19 @@ var _EVA_IIFE_EVA = function (exports) {
|
|
|
2119
1943
|
|
|
2120
1944
|
Transform.componentName = 'Transform';
|
|
2121
1945
|
|
|
2122
|
-
__decorate([
|
|
2123
|
-
return IntVector2;
|
|
2124
|
-
}), __metadata("design:type", IntVector2)], Transform.prototype, "position", void 0);
|
|
1946
|
+
__decorate([type('vector2'), step(1)], Transform.prototype, "position", void 0);
|
|
2125
1947
|
|
|
2126
|
-
__decorate([
|
|
2127
|
-
return Size2;
|
|
2128
|
-
}), __metadata("design:type", Size2)], Transform.prototype, "size", void 0);
|
|
1948
|
+
__decorate([type('size'), step(1)], Transform.prototype, "size", void 0);
|
|
2129
1949
|
|
|
2130
|
-
__decorate([
|
|
2131
|
-
return Vector2;
|
|
2132
|
-
}), __metadata("design:type", Vector2)], Transform.prototype, "origin", void 0);
|
|
1950
|
+
__decorate([type('vector2'), step(0.1)], Transform.prototype, "origin", void 0);
|
|
2133
1951
|
|
|
2134
|
-
__decorate([
|
|
2135
|
-
return Vector2;
|
|
2136
|
-
}), __metadata("design:type", Vector2)], Transform.prototype, "anchor", void 0);
|
|
1952
|
+
__decorate([type('vector2'), step(0.1)], Transform.prototype, "anchor", void 0);
|
|
2137
1953
|
|
|
2138
|
-
__decorate([
|
|
2139
|
-
return Scale;
|
|
2140
|
-
}), __metadata("design:type", Vector2)], Transform.prototype, "scale", void 0);
|
|
1954
|
+
__decorate([type('vector2'), step(0.1)], Transform.prototype, "scale", void 0);
|
|
2141
1955
|
|
|
2142
|
-
__decorate([
|
|
2143
|
-
return Vector2;
|
|
2144
|
-
}), __metadata("design:type", Vector2)], Transform.prototype, "skew", void 0);
|
|
1956
|
+
__decorate([type('vector2'), step(0.1)], Transform.prototype, "skew", void 0);
|
|
2145
1957
|
|
|
2146
|
-
__decorate([
|
|
2147
|
-
step: 0.1
|
|
2148
|
-
}), __metadata("design:type", Number)], Transform.prototype, "rotation", void 0);
|
|
1958
|
+
__decorate([type('number'), step(0.1)], Transform.prototype, "rotation", void 0);
|
|
2149
1959
|
|
|
2150
1960
|
return Transform;
|
|
2151
1961
|
}(Component$1);
|
|
@@ -2243,15 +2053,6 @@ var _EVA_IIFE_EVA = function (exports) {
|
|
|
2243
2053
|
gameObject.scene = this.scene;
|
|
2244
2054
|
};
|
|
2245
2055
|
|
|
2246
|
-
GameObject.prototype.addChildAt = function (gameObject, index) {
|
|
2247
|
-
if (index > this.transform.children.length) {
|
|
2248
|
-
throw new Error(gameObject.name + "addChildAt: The index 18 supplied is out of bounds " + this.transform.children.length);
|
|
2249
|
-
}
|
|
2250
|
-
|
|
2251
|
-
this.addChild(gameObject);
|
|
2252
|
-
gameObject.transform.childIndex = index;
|
|
2253
|
-
};
|
|
2254
|
-
|
|
2255
2056
|
GameObject.prototype.removeChild = function (gameObject) {
|
|
2256
2057
|
if (!(gameObject instanceof GameObject) || !gameObject.parent || gameObject.parent !== this) {
|
|
2257
2058
|
return gameObject;
|
|
@@ -2888,21 +2689,26 @@ var _EVA_IIFE_EVA = function (exports) {
|
|
|
2888
2689
|
return __spread(mainSceneGameObjects, otherSceneGameObjects);
|
|
2889
2690
|
};
|
|
2890
2691
|
|
|
2891
|
-
var
|
|
2892
|
-
var e_2, _a, e_3, _b;
|
|
2692
|
+
var gameObjectLoop = function gameObjectLoop(e, gameObjects) {
|
|
2693
|
+
var e_2, _a, e_3, _b, e_4, _c, e_5, _d;
|
|
2694
|
+
|
|
2695
|
+
if (gameObjects === void 0) {
|
|
2696
|
+
gameObjects = [];
|
|
2697
|
+
}
|
|
2893
2698
|
|
|
2894
2699
|
try {
|
|
2895
2700
|
for (var gameObjects_1 = __values(gameObjects), gameObjects_1_1 = gameObjects_1.next(); !gameObjects_1_1.done; gameObjects_1_1 = gameObjects_1.next()) {
|
|
2896
2701
|
var gameObject = gameObjects_1_1.value;
|
|
2897
2702
|
|
|
2898
2703
|
try {
|
|
2899
|
-
for (var
|
|
2900
|
-
var component =
|
|
2704
|
+
for (var _e = (e_3 = void 0, __values(gameObject.components)), _f = _e.next(); !_f.done; _f = _e.next()) {
|
|
2705
|
+
var component = _f.value;
|
|
2901
2706
|
|
|
2902
2707
|
try {
|
|
2903
|
-
component
|
|
2708
|
+
triggerStart(component);
|
|
2709
|
+
component.update && component.update(e);
|
|
2904
2710
|
} catch (e) {
|
|
2905
|
-
console.error("gameObject: " + gameObject.name + "
|
|
2711
|
+
console.error("gameObject: " + gameObject.name + " " + component.name + " update error", e);
|
|
2906
2712
|
}
|
|
2907
2713
|
}
|
|
2908
2714
|
} catch (e_3_1) {
|
|
@@ -2911,7 +2717,7 @@ var _EVA_IIFE_EVA = function (exports) {
|
|
|
2911
2717
|
};
|
|
2912
2718
|
} finally {
|
|
2913
2719
|
try {
|
|
2914
|
-
if (
|
|
2720
|
+
if (_f && !_f.done && (_b = _e.return)) _b.call(_e);
|
|
2915
2721
|
} finally {
|
|
2916
2722
|
if (e_3) throw e_3.error;
|
|
2917
2723
|
}
|
|
@@ -2928,23 +2734,19 @@ var _EVA_IIFE_EVA = function (exports) {
|
|
|
2928
2734
|
if (e_2) throw e_2.error;
|
|
2929
2735
|
}
|
|
2930
2736
|
}
|
|
2931
|
-
};
|
|
2932
|
-
|
|
2933
|
-
var gameObjectPause = function gameObjectPause(gameObjects) {
|
|
2934
|
-
var e_4, _a, e_5, _b;
|
|
2935
2737
|
|
|
2936
2738
|
try {
|
|
2937
2739
|
for (var gameObjects_2 = __values(gameObjects), gameObjects_2_1 = gameObjects_2.next(); !gameObjects_2_1.done; gameObjects_2_1 = gameObjects_2.next()) {
|
|
2938
2740
|
var gameObject = gameObjects_2_1.value;
|
|
2939
2741
|
|
|
2940
2742
|
try {
|
|
2941
|
-
for (var
|
|
2942
|
-
var component =
|
|
2743
|
+
for (var _g = (e_5 = void 0, __values(gameObject.components)), _h = _g.next(); !_h.done; _h = _g.next()) {
|
|
2744
|
+
var component = _h.value;
|
|
2943
2745
|
|
|
2944
2746
|
try {
|
|
2945
|
-
component.
|
|
2747
|
+
component.lateUpdate && component.lateUpdate(e);
|
|
2946
2748
|
} catch (e) {
|
|
2947
|
-
console.error("gameObject: " + gameObject.name + "
|
|
2749
|
+
console.error("gameObject: " + gameObject.name + " " + component.name + " lateUpdate error", e);
|
|
2948
2750
|
}
|
|
2949
2751
|
}
|
|
2950
2752
|
} catch (e_5_1) {
|
|
@@ -2953,7 +2755,7 @@ var _EVA_IIFE_EVA = function (exports) {
|
|
|
2953
2755
|
};
|
|
2954
2756
|
} finally {
|
|
2955
2757
|
try {
|
|
2956
|
-
if (
|
|
2758
|
+
if (_h && !_h.done && (_d = _g.return)) _d.call(_g);
|
|
2957
2759
|
} finally {
|
|
2958
2760
|
if (e_5) throw e_5.error;
|
|
2959
2761
|
}
|
|
@@ -2965,18 +2767,102 @@ var _EVA_IIFE_EVA = function (exports) {
|
|
|
2965
2767
|
};
|
|
2966
2768
|
} finally {
|
|
2967
2769
|
try {
|
|
2968
|
-
if (gameObjects_2_1 && !gameObjects_2_1.done && (
|
|
2770
|
+
if (gameObjects_2_1 && !gameObjects_2_1.done && (_c = gameObjects_2.return)) _c.call(gameObjects_2);
|
|
2969
2771
|
} finally {
|
|
2970
2772
|
if (e_4) throw e_4.error;
|
|
2971
2773
|
}
|
|
2972
2774
|
}
|
|
2973
2775
|
};
|
|
2974
2776
|
|
|
2777
|
+
var gameObjectResume = function gameObjectResume(gameObjects) {
|
|
2778
|
+
var e_6, _a, e_7, _b;
|
|
2779
|
+
|
|
2780
|
+
try {
|
|
2781
|
+
for (var gameObjects_3 = __values(gameObjects), gameObjects_3_1 = gameObjects_3.next(); !gameObjects_3_1.done; gameObjects_3_1 = gameObjects_3.next()) {
|
|
2782
|
+
var gameObject = gameObjects_3_1.value;
|
|
2783
|
+
|
|
2784
|
+
try {
|
|
2785
|
+
for (var _c = (e_7 = void 0, __values(gameObject.components)), _d = _c.next(); !_d.done; _d = _c.next()) {
|
|
2786
|
+
var component = _d.value;
|
|
2787
|
+
|
|
2788
|
+
try {
|
|
2789
|
+
component.onResume && component.onResume();
|
|
2790
|
+
} catch (e) {
|
|
2791
|
+
console.error("gameObject: " + gameObject.name + ", " + component.name + ", onResume error", e);
|
|
2792
|
+
}
|
|
2793
|
+
}
|
|
2794
|
+
} catch (e_7_1) {
|
|
2795
|
+
e_7 = {
|
|
2796
|
+
error: e_7_1
|
|
2797
|
+
};
|
|
2798
|
+
} finally {
|
|
2799
|
+
try {
|
|
2800
|
+
if (_d && !_d.done && (_b = _c.return)) _b.call(_c);
|
|
2801
|
+
} finally {
|
|
2802
|
+
if (e_7) throw e_7.error;
|
|
2803
|
+
}
|
|
2804
|
+
}
|
|
2805
|
+
}
|
|
2806
|
+
} catch (e_6_1) {
|
|
2807
|
+
e_6 = {
|
|
2808
|
+
error: e_6_1
|
|
2809
|
+
};
|
|
2810
|
+
} finally {
|
|
2811
|
+
try {
|
|
2812
|
+
if (gameObjects_3_1 && !gameObjects_3_1.done && (_a = gameObjects_3.return)) _a.call(gameObjects_3);
|
|
2813
|
+
} finally {
|
|
2814
|
+
if (e_6) throw e_6.error;
|
|
2815
|
+
}
|
|
2816
|
+
}
|
|
2817
|
+
};
|
|
2818
|
+
|
|
2819
|
+
var gameObjectPause = function gameObjectPause(gameObjects) {
|
|
2820
|
+
var e_8, _a, e_9, _b;
|
|
2821
|
+
|
|
2822
|
+
try {
|
|
2823
|
+
for (var gameObjects_4 = __values(gameObjects), gameObjects_4_1 = gameObjects_4.next(); !gameObjects_4_1.done; gameObjects_4_1 = gameObjects_4.next()) {
|
|
2824
|
+
var gameObject = gameObjects_4_1.value;
|
|
2825
|
+
|
|
2826
|
+
try {
|
|
2827
|
+
for (var _c = (e_9 = void 0, __values(gameObject.components)), _d = _c.next(); !_d.done; _d = _c.next()) {
|
|
2828
|
+
var component = _d.value;
|
|
2829
|
+
|
|
2830
|
+
try {
|
|
2831
|
+
component.onPause && component.onPause();
|
|
2832
|
+
} catch (e) {
|
|
2833
|
+
console.error("gameObject: " + gameObject.name + ", " + component.name + ", onResume error", e);
|
|
2834
|
+
}
|
|
2835
|
+
}
|
|
2836
|
+
} catch (e_9_1) {
|
|
2837
|
+
e_9 = {
|
|
2838
|
+
error: e_9_1
|
|
2839
|
+
};
|
|
2840
|
+
} finally {
|
|
2841
|
+
try {
|
|
2842
|
+
if (_d && !_d.done && (_b = _c.return)) _b.call(_c);
|
|
2843
|
+
} finally {
|
|
2844
|
+
if (e_9) throw e_9.error;
|
|
2845
|
+
}
|
|
2846
|
+
}
|
|
2847
|
+
}
|
|
2848
|
+
} catch (e_8_1) {
|
|
2849
|
+
e_8 = {
|
|
2850
|
+
error: e_8_1
|
|
2851
|
+
};
|
|
2852
|
+
} finally {
|
|
2853
|
+
try {
|
|
2854
|
+
if (gameObjects_4_1 && !gameObjects_4_1.done && (_a = gameObjects_4.return)) _a.call(gameObjects_4);
|
|
2855
|
+
} finally {
|
|
2856
|
+
if (e_8) throw e_8.error;
|
|
2857
|
+
}
|
|
2858
|
+
}
|
|
2859
|
+
};
|
|
2860
|
+
|
|
2975
2861
|
var Game = function (_super) {
|
|
2976
2862
|
__extends$1(Game, _super);
|
|
2977
2863
|
|
|
2978
2864
|
function Game(_a) {
|
|
2979
|
-
var
|
|
2865
|
+
var e_10, _b;
|
|
2980
2866
|
|
|
2981
2867
|
var _c = _a === void 0 ? {} : _a,
|
|
2982
2868
|
systems = _c.systems,
|
|
@@ -2985,9 +2871,7 @@ var _EVA_IIFE_EVA = function (exports) {
|
|
|
2985
2871
|
_e = _c.autoStart,
|
|
2986
2872
|
autoStart = _e === void 0 ? true : _e,
|
|
2987
2873
|
_f = _c.needScene,
|
|
2988
|
-
needScene = _f === void 0 ? true : _f
|
|
2989
|
-
_g = _c.mode,
|
|
2990
|
-
mode = _g === void 0 ? 'PLAY' : _g;
|
|
2874
|
+
needScene = _f === void 0 ? true : _f;
|
|
2991
2875
|
|
|
2992
2876
|
var _this = _super.call(this) || this;
|
|
2993
2877
|
|
|
@@ -2995,8 +2879,6 @@ var _EVA_IIFE_EVA = function (exports) {
|
|
|
2995
2879
|
_this.started = false;
|
|
2996
2880
|
_this.multiScenes = [];
|
|
2997
2881
|
_this.systems = [];
|
|
2998
|
-
_this.mode = 'PLAY';
|
|
2999
|
-
_this.mode = mode;
|
|
3000
2882
|
|
|
3001
2883
|
if (window.__EVA_INSPECTOR_ENV__) {
|
|
3002
2884
|
window.__EVA_GAME_INSTANCE__ = _this;
|
|
@@ -3016,15 +2898,15 @@ var _EVA_IIFE_EVA = function (exports) {
|
|
|
3016
2898
|
|
|
3017
2899
|
_this.addSystem(system);
|
|
3018
2900
|
}
|
|
3019
|
-
} catch (
|
|
3020
|
-
|
|
3021
|
-
error:
|
|
2901
|
+
} catch (e_10_1) {
|
|
2902
|
+
e_10 = {
|
|
2903
|
+
error: e_10_1
|
|
3022
2904
|
};
|
|
3023
2905
|
} finally {
|
|
3024
2906
|
try {
|
|
3025
2907
|
if (systems_1_1 && !systems_1_1.done && (_b = systems_1.return)) _b.call(systems_1);
|
|
3026
2908
|
} finally {
|
|
3027
|
-
if (
|
|
2909
|
+
if (e_10) throw e_10.error;
|
|
3028
2910
|
}
|
|
3029
2911
|
}
|
|
3030
2912
|
}
|
|
@@ -3153,9 +3035,9 @@ var _EVA_IIFE_EVA = function (exports) {
|
|
|
3153
3035
|
var _this = this;
|
|
3154
3036
|
|
|
3155
3037
|
this.ticker.add(function (e) {
|
|
3156
|
-
var
|
|
3038
|
+
var e_11, _a, e_12, _b;
|
|
3157
3039
|
|
|
3158
|
-
_this.scene &&
|
|
3040
|
+
_this.scene && gameObjectLoop(e, _this.gameObjects);
|
|
3159
3041
|
|
|
3160
3042
|
try {
|
|
3161
3043
|
for (var _c = __values(_this.systems), _d = _c.next(); !_d.done; _d = _c.next()) {
|
|
@@ -3168,15 +3050,15 @@ var _EVA_IIFE_EVA = function (exports) {
|
|
|
3168
3050
|
console.error(system.constructor.systemName + " update error", e);
|
|
3169
3051
|
}
|
|
3170
3052
|
}
|
|
3171
|
-
} catch (
|
|
3172
|
-
|
|
3173
|
-
error:
|
|
3053
|
+
} catch (e_11_1) {
|
|
3054
|
+
e_11 = {
|
|
3055
|
+
error: e_11_1
|
|
3174
3056
|
};
|
|
3175
3057
|
} finally {
|
|
3176
3058
|
try {
|
|
3177
3059
|
if (_d && !_d.done && (_a = _c.return)) _a.call(_c);
|
|
3178
3060
|
} finally {
|
|
3179
|
-
if (
|
|
3061
|
+
if (e_11) throw e_11.error;
|
|
3180
3062
|
}
|
|
3181
3063
|
}
|
|
3182
3064
|
|
|
@@ -3190,22 +3072,22 @@ var _EVA_IIFE_EVA = function (exports) {
|
|
|
3190
3072
|
console.error(system.constructor.systemName + " lateUpdate error", e);
|
|
3191
3073
|
}
|
|
3192
3074
|
}
|
|
3193
|
-
} catch (
|
|
3194
|
-
|
|
3195
|
-
error:
|
|
3075
|
+
} catch (e_12_1) {
|
|
3076
|
+
e_12 = {
|
|
3077
|
+
error: e_12_1
|
|
3196
3078
|
};
|
|
3197
3079
|
} finally {
|
|
3198
3080
|
try {
|
|
3199
3081
|
if (_f && !_f.done && (_b = _e.return)) _b.call(_e);
|
|
3200
3082
|
} finally {
|
|
3201
|
-
if (
|
|
3083
|
+
if (e_12) throw e_12.error;
|
|
3202
3084
|
}
|
|
3203
3085
|
}
|
|
3204
3086
|
});
|
|
3205
3087
|
};
|
|
3206
3088
|
|
|
3207
3089
|
Game.prototype.triggerResume = function () {
|
|
3208
|
-
var
|
|
3090
|
+
var e_13, _a;
|
|
3209
3091
|
|
|
3210
3092
|
gameObjectResume(this.gameObjects);
|
|
3211
3093
|
|
|
@@ -3219,21 +3101,21 @@ var _EVA_IIFE_EVA = function (exports) {
|
|
|
3219
3101
|
console.error(system.constructor.systemName + ", onResume error", e);
|
|
3220
3102
|
}
|
|
3221
3103
|
}
|
|
3222
|
-
} catch (
|
|
3223
|
-
|
|
3224
|
-
error:
|
|
3104
|
+
} catch (e_13_1) {
|
|
3105
|
+
e_13 = {
|
|
3106
|
+
error: e_13_1
|
|
3225
3107
|
};
|
|
3226
3108
|
} finally {
|
|
3227
3109
|
try {
|
|
3228
3110
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
3229
3111
|
} finally {
|
|
3230
|
-
if (
|
|
3112
|
+
if (e_13) throw e_13.error;
|
|
3231
3113
|
}
|
|
3232
3114
|
}
|
|
3233
3115
|
};
|
|
3234
3116
|
|
|
3235
3117
|
Game.prototype.triggerPause = function () {
|
|
3236
|
-
var
|
|
3118
|
+
var e_14, _a;
|
|
3237
3119
|
|
|
3238
3120
|
gameObjectPause(this.gameObjects);
|
|
3239
3121
|
|
|
@@ -3247,36 +3129,36 @@ var _EVA_IIFE_EVA = function (exports) {
|
|
|
3247
3129
|
console.error(system.constructor.systemName + ", onPause error", e);
|
|
3248
3130
|
}
|
|
3249
3131
|
}
|
|
3250
|
-
} catch (
|
|
3251
|
-
|
|
3252
|
-
error:
|
|
3132
|
+
} catch (e_14_1) {
|
|
3133
|
+
e_14 = {
|
|
3134
|
+
error: e_14_1
|
|
3253
3135
|
};
|
|
3254
3136
|
} finally {
|
|
3255
3137
|
try {
|
|
3256
3138
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
3257
3139
|
} finally {
|
|
3258
|
-
if (
|
|
3140
|
+
if (e_14) throw e_14.error;
|
|
3259
3141
|
}
|
|
3260
3142
|
}
|
|
3261
3143
|
};
|
|
3262
3144
|
|
|
3263
3145
|
Game.prototype.destroySystems = function () {
|
|
3264
|
-
var
|
|
3146
|
+
var e_15, _a;
|
|
3265
3147
|
|
|
3266
3148
|
try {
|
|
3267
3149
|
for (var _b = __values(__spread(this.systems)), _c = _b.next(); !_c.done; _c = _b.next()) {
|
|
3268
3150
|
var system = _c.value;
|
|
3269
3151
|
this.removeSystem(system);
|
|
3270
3152
|
}
|
|
3271
|
-
} catch (
|
|
3272
|
-
|
|
3273
|
-
error:
|
|
3153
|
+
} catch (e_15_1) {
|
|
3154
|
+
e_15 = {
|
|
3155
|
+
error: e_15_1
|
|
3274
3156
|
};
|
|
3275
3157
|
} finally {
|
|
3276
3158
|
try {
|
|
3277
3159
|
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
3278
3160
|
} finally {
|
|
3279
|
-
if (
|
|
3161
|
+
if (e_15) throw e_15.error;
|
|
3280
3162
|
}
|
|
3281
3163
|
}
|
|
3282
3164
|
|
|
@@ -3322,104 +3204,19 @@ var _EVA_IIFE_EVA = function (exports) {
|
|
|
3322
3204
|
});
|
|
3323
3205
|
};
|
|
3324
3206
|
|
|
3325
|
-
Game.prototype.shouldUpdate = function (component) {
|
|
3326
|
-
return this.mode === 'PLAY' || this.mode === 'EDIT' && shouldExecuteInEditMode(component.constructor);
|
|
3327
|
-
};
|
|
3328
|
-
|
|
3329
|
-
Game.prototype.gameObjectLoop = function (e, gameObjects) {
|
|
3330
|
-
var e_12, _a, e_13, _b, e_14, _c, e_15, _d;
|
|
3331
|
-
|
|
3332
|
-
if (gameObjects === void 0) {
|
|
3333
|
-
gameObjects = [];
|
|
3334
|
-
}
|
|
3335
|
-
|
|
3336
|
-
try {
|
|
3337
|
-
for (var gameObjects_3 = __values(gameObjects), gameObjects_3_1 = gameObjects_3.next(); !gameObjects_3_1.done; gameObjects_3_1 = gameObjects_3.next()) {
|
|
3338
|
-
var gameObject = gameObjects_3_1.value;
|
|
3339
|
-
|
|
3340
|
-
try {
|
|
3341
|
-
for (var _e = (e_13 = void 0, __values(gameObject.components)), _f = _e.next(); !_f.done; _f = _e.next()) {
|
|
3342
|
-
var component = _f.value;
|
|
3343
|
-
|
|
3344
|
-
try {
|
|
3345
|
-
if (this.shouldUpdate(component)) {
|
|
3346
|
-
triggerStart(component);
|
|
3347
|
-
component.update && component.update(e);
|
|
3348
|
-
}
|
|
3349
|
-
} catch (e) {
|
|
3350
|
-
console.error("gameObject: " + gameObject.name + " " + component.name + " update error", e);
|
|
3351
|
-
}
|
|
3352
|
-
}
|
|
3353
|
-
} catch (e_13_1) {
|
|
3354
|
-
e_13 = {
|
|
3355
|
-
error: e_13_1
|
|
3356
|
-
};
|
|
3357
|
-
} finally {
|
|
3358
|
-
try {
|
|
3359
|
-
if (_f && !_f.done && (_b = _e.return)) _b.call(_e);
|
|
3360
|
-
} finally {
|
|
3361
|
-
if (e_13) throw e_13.error;
|
|
3362
|
-
}
|
|
3363
|
-
}
|
|
3364
|
-
}
|
|
3365
|
-
} catch (e_12_1) {
|
|
3366
|
-
e_12 = {
|
|
3367
|
-
error: e_12_1
|
|
3368
|
-
};
|
|
3369
|
-
} finally {
|
|
3370
|
-
try {
|
|
3371
|
-
if (gameObjects_3_1 && !gameObjects_3_1.done && (_a = gameObjects_3.return)) _a.call(gameObjects_3);
|
|
3372
|
-
} finally {
|
|
3373
|
-
if (e_12) throw e_12.error;
|
|
3374
|
-
}
|
|
3375
|
-
}
|
|
3376
|
-
|
|
3377
|
-
try {
|
|
3378
|
-
for (var gameObjects_4 = __values(gameObjects), gameObjects_4_1 = gameObjects_4.next(); !gameObjects_4_1.done; gameObjects_4_1 = gameObjects_4.next()) {
|
|
3379
|
-
var gameObject = gameObjects_4_1.value;
|
|
3380
|
-
|
|
3381
|
-
try {
|
|
3382
|
-
for (var _g = (e_15 = void 0, __values(gameObject.components)), _h = _g.next(); !_h.done; _h = _g.next()) {
|
|
3383
|
-
var component = _h.value;
|
|
3384
|
-
|
|
3385
|
-
try {
|
|
3386
|
-
if (this.shouldUpdate(component)) {
|
|
3387
|
-
component.lateUpdate && component.lateUpdate(e);
|
|
3388
|
-
}
|
|
3389
|
-
} catch (e) {
|
|
3390
|
-
console.error("gameObject: " + gameObject.name + " " + component.name + " lateUpdate error", e);
|
|
3391
|
-
}
|
|
3392
|
-
}
|
|
3393
|
-
} catch (e_15_1) {
|
|
3394
|
-
e_15 = {
|
|
3395
|
-
error: e_15_1
|
|
3396
|
-
};
|
|
3397
|
-
} finally {
|
|
3398
|
-
try {
|
|
3399
|
-
if (_h && !_h.done && (_d = _g.return)) _d.call(_g);
|
|
3400
|
-
} finally {
|
|
3401
|
-
if (e_15) throw e_15.error;
|
|
3402
|
-
}
|
|
3403
|
-
}
|
|
3404
|
-
}
|
|
3405
|
-
} catch (e_14_1) {
|
|
3406
|
-
e_14 = {
|
|
3407
|
-
error: e_14_1
|
|
3408
|
-
};
|
|
3409
|
-
} finally {
|
|
3410
|
-
try {
|
|
3411
|
-
if (gameObjects_4_1 && !gameObjects_4_1.done && (_c = gameObjects_4.return)) _c.call(gameObjects_4);
|
|
3412
|
-
} finally {
|
|
3413
|
-
if (e_14) throw e_14.error;
|
|
3414
|
-
}
|
|
3415
|
-
}
|
|
3416
|
-
};
|
|
3417
|
-
|
|
3418
3207
|
return Game;
|
|
3419
3208
|
}(EE);
|
|
3420
3209
|
|
|
3421
3210
|
var Game$1 = Game;
|
|
3422
3211
|
|
|
3212
|
+
function IDEProp(target, propertyKey) {
|
|
3213
|
+
if (!target.constructor.IDEProps) {
|
|
3214
|
+
target.constructor.IDEProps = [];
|
|
3215
|
+
}
|
|
3216
|
+
|
|
3217
|
+
target.constructor.IDEProps.push(propertyKey);
|
|
3218
|
+
}
|
|
3219
|
+
|
|
3423
3220
|
function componentObserver(observerInfo) {
|
|
3424
3221
|
if (observerInfo === void 0) {
|
|
3425
3222
|
observerInfo = {};
|
|
@@ -3630,12 +3427,9 @@ var _EVA_IIFE_EVA = function (exports) {
|
|
|
3630
3427
|
return Signal;
|
|
3631
3428
|
}();
|
|
3632
3429
|
|
|
3633
|
-
|
|
3634
|
-
if (opts === void 0) {
|
|
3635
|
-
opts = {};
|
|
3636
|
-
}
|
|
3637
|
-
|
|
3430
|
+
function parseURI(str, opts) {
|
|
3638
3431
|
if (!str) return undefined;
|
|
3432
|
+
opts = opts || {};
|
|
3639
3433
|
var o = {
|
|
3640
3434
|
key: ['source', 'protocol', 'authority', 'userInfo', 'user', 'password', 'host', 'port', 'relative', 'path', 'directory', 'file', 'query', 'anchor'],
|
|
3641
3435
|
q: {
|
|
@@ -3643,8 +3437,8 @@ var _EVA_IIFE_EVA = function (exports) {
|
|
|
3643
3437
|
parser: /(?:^|&)([^&=]*)=?([^&]*)/g
|
|
3644
3438
|
},
|
|
3645
3439
|
parser: {
|
|
3646
|
-
strict: /^(?:([
|
|
3647
|
-
loose: /^(?:(?![^:@]+:[
|
|
3440
|
+
strict: /^(?:([^:\/?#]+):)?(?:\/\/((?:(([^:@]*)(?::([^:@]*))?)?@)?([^:\/?#]*)(?::(\d*))?))?((((?:[^?#\/]*\/)*)([^?#]*))(?:\?([^#]*))?(?:#(.*))?)/,
|
|
3441
|
+
loose: /^(?:(?![^:@]+:[^:@\/]*@)([^:\/?#.]+):)?(?:\/\/)?((?:(([^:@]*)(?::([^:@]*))?)?@)?([^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/
|
|
3648
3442
|
}
|
|
3649
3443
|
};
|
|
3650
3444
|
var m = o.parser[opts.strictMode ? 'strict' : 'loose'].exec(str);
|
|
@@ -3660,9 +3454,10 @@ var _EVA_IIFE_EVA = function (exports) {
|
|
|
3660
3454
|
if ($1) uri[o.q.name][$1] = $2;
|
|
3661
3455
|
});
|
|
3662
3456
|
return uri;
|
|
3663
|
-
}
|
|
3457
|
+
}
|
|
3664
3458
|
|
|
3665
|
-
var parseUri =
|
|
3459
|
+
var parseUri = parseURI;
|
|
3460
|
+
var parseUri$1 = parseUri;
|
|
3666
3461
|
|
|
3667
3462
|
var AbstractLoadStrategy = function () {
|
|
3668
3463
|
function AbstractLoadStrategy(config) {
|
|
@@ -4485,7 +4280,7 @@ var _EVA_IIFE_EVA = function (exports) {
|
|
|
4485
4280
|
if (window.origin !== window.location.origin) return 'anonymous';
|
|
4486
4281
|
if (!Resource._tempAnchor) Resource._tempAnchor = document.createElement('a');
|
|
4487
4282
|
Resource._tempAnchor.href = url;
|
|
4488
|
-
var parsed = parseUri(Resource._tempAnchor.href, {
|
|
4283
|
+
var parsed = parseUri$1(Resource._tempAnchor.href, {
|
|
4489
4284
|
strictMode: true
|
|
4490
4285
|
});
|
|
4491
4286
|
var samePort = !parsed.port && loc.port === '' || parsed.port === loc.port;
|
|
@@ -4739,13 +4534,13 @@ var _EVA_IIFE_EVA = function (exports) {
|
|
|
4739
4534
|
};
|
|
4740
4535
|
|
|
4741
4536
|
Loader.prototype._prepareUrl = function (url, baseUrl) {
|
|
4742
|
-
var parsed = parseUri(url, {
|
|
4537
|
+
var parsed = parseUri$1(url, {
|
|
4743
4538
|
strictMode: true
|
|
4744
4539
|
});
|
|
4745
4540
|
|
|
4746
4541
|
this._urlResolvers.forEach(function (resolver) {
|
|
4747
4542
|
url = resolver(url, parsed);
|
|
4748
|
-
parsed = parseUri(url, {
|
|
4543
|
+
parsed = parseUri$1(url, {
|
|
4749
4544
|
strictMode: true
|
|
4750
4545
|
});
|
|
4751
4546
|
});
|
|
@@ -5363,13 +5158,15 @@ var _EVA_IIFE_EVA = function (exports) {
|
|
|
5363
5158
|
|
|
5364
5159
|
var resource = new Resource();
|
|
5365
5160
|
var decorators = {
|
|
5161
|
+
IDEProp: IDEProp,
|
|
5366
5162
|
componentObserver: componentObserver
|
|
5367
5163
|
};
|
|
5368
|
-
var version = '1.2.
|
|
5164
|
+
var version = '1.2.8';
|
|
5369
5165
|
console.log("Eva.js version: " + version);
|
|
5370
5166
|
exports.Component = Component$1;
|
|
5371
5167
|
exports.Game = Game$1;
|
|
5372
5168
|
exports.GameObject = GameObject$1;
|
|
5169
|
+
exports.IDEProp = IDEProp;
|
|
5373
5170
|
exports.RESOURCE_TYPE_STRATEGY = RESOURCE_TYPE_STRATEGY;
|
|
5374
5171
|
exports.Scene = Scene$1;
|
|
5375
5172
|
exports.System = System$1;
|