@mtgame/core 0.1.17 → 0.1.19
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/api/tournament-api.d.ts +1 -0
- package/bundles/mtgame-core.umd.js +21 -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/api/tournament-api.js +1 -1
- package/esm2015/models/hockey-game-config.js +10 -1
- package/esm5/api/tournament-api.js +1 -1
- package/esm5/models/hockey-game-config.js +22 -1
- package/fesm2015/mtgame-core.js +9 -0
- package/fesm2015/mtgame-core.js.map +1 -1
- package/fesm5/mtgame-core.js +21 -0
- package/fesm5/mtgame-core.js.map +1 -1
- package/models/hockey-game-config.d.ts +3 -0
- package/mtgame-core.metadata.json +1 -1
- package/package.json +1 -1
package/fesm5/mtgame-core.js
CHANGED
|
@@ -1466,6 +1466,27 @@ var HockeyGameConfig = /** @class */ (function (_super) {
|
|
|
1466
1466
|
}
|
|
1467
1467
|
HockeyGameConfig.toFront = function (data) { };
|
|
1468
1468
|
HockeyGameConfig.toBack = function (data) { };
|
|
1469
|
+
Object.defineProperty(HockeyGameConfig.prototype, "overtimePeriod", {
|
|
1470
|
+
get: function () {
|
|
1471
|
+
return this.periodsCount + 1;
|
|
1472
|
+
},
|
|
1473
|
+
enumerable: true,
|
|
1474
|
+
configurable: true
|
|
1475
|
+
});
|
|
1476
|
+
Object.defineProperty(HockeyGameConfig.prototype, "bullitsPeriod", {
|
|
1477
|
+
get: function () {
|
|
1478
|
+
return this.periodsCount + 2;
|
|
1479
|
+
},
|
|
1480
|
+
enumerable: true,
|
|
1481
|
+
configurable: true
|
|
1482
|
+
});
|
|
1483
|
+
Object.defineProperty(HockeyGameConfig.prototype, "playoffBullitsPeriod", {
|
|
1484
|
+
get: function () {
|
|
1485
|
+
return this.periodsCount + 3;
|
|
1486
|
+
},
|
|
1487
|
+
enumerable: true,
|
|
1488
|
+
configurable: true
|
|
1489
|
+
});
|
|
1469
1490
|
__decorate([
|
|
1470
1491
|
ToFrontHook
|
|
1471
1492
|
], HockeyGameConfig, "toFront", null);
|