@mtgame/core 0.0.61 → 0.0.62
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/bundles/mtgame-core.umd.js +8 -0
- package/bundles/mtgame-core.umd.js.map +1 -1
- package/bundles/mtgame-core.umd.min.js +1 -1
- package/bundles/mtgame-core.umd.min.js.map +1 -1
- package/esm2015/models/basketball-statistic.js +5 -1
- package/esm5/models/basketball-statistic.js +9 -1
- package/fesm2015/mtgame-core.js +4 -0
- package/fesm2015/mtgame-core.js.map +1 -1
- package/fesm5/mtgame-core.js +8 -0
- package/fesm5/mtgame-core.js.map +1 -1
- package/models/basketball-statistic.d.ts +2 -0
- package/mtgame-core.metadata.json +1 -1
- package/package.json +1 -1
|
@@ -2235,6 +2235,13 @@
|
|
|
2235
2235
|
enumerable: true,
|
|
2236
2236
|
configurable: true
|
|
2237
2237
|
});
|
|
2238
|
+
Object.defineProperty(BasketballStatistic.prototype, "gameMinutes", {
|
|
2239
|
+
get: function () {
|
|
2240
|
+
return Math.floor(this.gameTime / 60);
|
|
2241
|
+
},
|
|
2242
|
+
enumerable: true,
|
|
2243
|
+
configurable: true
|
|
2244
|
+
});
|
|
2238
2245
|
BasketballStatistic.toFront = function (data) { };
|
|
2239
2246
|
BasketballStatistic.toBack = function (data) { };
|
|
2240
2247
|
__decorate([
|
|
@@ -2278,6 +2285,7 @@
|
|
|
2278
2285
|
personal_fouls: 'personalFouls',
|
|
2279
2286
|
technical_fouls: 'technicalFouls',
|
|
2280
2287
|
unsportsmanlike_fouls: 'unsportsmanlikeFouls',
|
|
2288
|
+
game_time: 'gameTime',
|
|
2281
2289
|
newbie: 'newbie',
|
|
2282
2290
|
},
|
|
2283
2291
|
relation: {
|