raspberry_games_engine_helpers 1.8.369 → 1.8.370

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.
@@ -216,7 +216,7 @@
216
216
  initMetadataForClass(LoggerOutputDataDto, 'LoggerOutputDataDto', VOID, VOID, VOID, VOID, VOID, {0: $serializer_getInstance_10});
217
217
  //endregion
218
218
  function GameEngineConfig() {
219
- this.version = '1.8.369';
219
+ this.version = '1.8.370';
220
220
  }
221
221
  protoOf(GameEngineConfig).k17 = function () {
222
222
  return this.version;
@@ -814,10 +814,10 @@
814
814
  initMetadataForClass(RestartGameMechanicAction, 'RestartGameMechanicAction', VOID, MechanicAction, [MechanicAction, BufferedAction]);
815
815
  initMetadataForClass(SceneActMechanicAction, 'SceneActMechanicAction', VOID, MechanicAction, [MechanicAction, NavigationMechanicAction, Action, ReleaseBufferTriggerAction]);
816
816
  initMetadataForClass(TeamsDataMechanicAction, 'TeamsDataMechanicAction', VOID, MechanicAction, [MechanicAction, Action, BufferedAction]);
817
- initMetadataForClass(PlayerReadyMechanicAction, 'PlayerReadyMechanicAction', VOID, MechanicAction, [MechanicAction, Action, ReleaseBufferTriggerAction, PlayerIdContract]);
818
- initMetadataForClass(SuitChoiceMechanicAction, 'SuitChoiceMechanicAction', VOID, MechanicAction, [MechanicAction, Action, ReleaseBufferTriggerAction, PlayerIdContract]);
819
- initMetadataForClass(CombinationChoiceMechanicAction, 'CombinationChoiceMechanicAction', VOID, MechanicAction, [MechanicAction, Action, ReleaseBufferTriggerAction, PlayerIdContract, BufferedAction]);
820
- initMetadataForClass(PutCardMechanicAction, 'PutCardMechanicAction', VOID, MechanicAction, [MechanicAction, Action, ReleaseBufferTriggerAction, PlayerIdContract]);
817
+ initMetadataForClass(PlayerReadyMechanicAction, 'PlayerReadyMechanicAction', VOID, MechanicAction, [MechanicAction, Action, PlayerIdContract, ReleaseBufferTriggerAction]);
818
+ initMetadataForClass(SuitChoiceMechanicAction, 'SuitChoiceMechanicAction', VOID, MechanicAction, [MechanicAction, Action, PlayerIdContract, ReleaseBufferTriggerAction]);
819
+ initMetadataForClass(CombinationChoiceMechanicAction, 'CombinationChoiceMechanicAction', VOID, MechanicAction, [MechanicAction, Action, PlayerIdContract, ReleaseBufferTriggerAction, BufferedAction]);
820
+ initMetadataForClass(PutCardMechanicAction, 'PutCardMechanicAction', VOID, MechanicAction, [MechanicAction, Action, PlayerIdContract, ReleaseBufferTriggerAction]);
821
821
  initMetadataForClass(TrumpMechanicAction, 'TrumpMechanicAction', VOID, MechanicAction, [MechanicAction, Action, BufferedAction]);
822
822
  initMetadataForClass(PickUpBribeMechanicAction, 'PickUpBribeMechanicAction', VOID, MechanicAction, [MechanicAction, Action, ReleaseBufferTriggerAction, BufferedAction]);
823
823
  initMetadataForClass(WinnerCombinationsMechanicAction, 'WinnerCombinationsMechanicAction', VOID, MechanicAction, [MechanicAction, BufferedAction]);
@@ -57,6 +57,12 @@ if (typeof Math.clz32 === 'undefined') {
57
57
  };
58
58
  }(Math.log, Math.LN2);
59
59
  }
60
+ if (typeof String.prototype.startsWith === 'undefined') {
61
+ Object.defineProperty(String.prototype, 'startsWith', {value: function (searchString, position) {
62
+ position = position || 0;
63
+ return this.lastIndexOf(searchString, position) === position;
64
+ }});
65
+ }
60
66
  if (typeof String.prototype.endsWith === 'undefined') {
61
67
  Object.defineProperty(String.prototype, 'endsWith', {value: function (searchString, position) {
62
68
  var subjectString = this.toString();
@@ -68,12 +74,6 @@ if (typeof String.prototype.endsWith === 'undefined') {
68
74
  return lastIndex !== -1 && lastIndex === position;
69
75
  }});
70
76
  }
71
- if (typeof String.prototype.startsWith === 'undefined') {
72
- Object.defineProperty(String.prototype, 'startsWith', {value: function (searchString, position) {
73
- position = position || 0;
74
- return this.lastIndexOf(searchString, position) === position;
75
- }});
76
- }
77
77
  //endregion
78
78
  (function (factory) {
79
79
  if (typeof define === 'function' && define.amd)