raspberry_games_engine_helpers 1.8.349 → 1.8.351

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.
@@ -215,7 +215,7 @@
215
215
  initMetadataForClass(LoggerOutputDataDto, 'LoggerOutputDataDto', VOID, VOID, VOID, VOID, VOID, {0: $serializer_getInstance_10});
216
216
  //endregion
217
217
  function GameEngineConfig() {
218
- this.version = '1.8.349';
218
+ this.version = '1.8.351';
219
219
  }
220
220
  protoOf(GameEngineConfig).y27 = function () {
221
221
  return this.version;
@@ -825,11 +825,11 @@
825
825
  return tmp$ret$1;
826
826
  }
827
827
  initMetadataForInterface(PlayerTurnIdAnswerAction, 'PlayerTurnIdAnswerAction', VOID, VOID, [Action, ReleaseBufferTriggerAction, PlayerIdContract]);
828
- initMetadataForClass(SceneMechanicAction, 'SceneMechanicAction', VOID, MechanicAction, [MechanicAction, NavigationMechanicAction, Action, ReleaseBufferTriggerAction, PlayerTurnIdAnswerAction, NotValidateIfGameFinishing, NotValidateIfGameFinished]);
828
+ initMetadataForClass(SceneMechanicAction, 'SceneMechanicAction', VOID, MechanicAction, [MechanicAction, NavigationMechanicAction, ReleaseBufferTriggerAction, Action, PlayerTurnIdAnswerAction, NotValidateIfGameFinishing, NotValidateIfGameFinished]);
829
829
  initMetadataForClass(PlayerConnectionChangedMechanicAction, 'PlayerConnectionChangedMechanicAction', VOID, MechanicAction, [MechanicAction, NotValidateIfGameFinishing, NotValidateIfGameFinished]);
830
830
  initMetadataForClass(ContinueGameMechanicAction, 'ContinueGameMechanicAction', VOID, MechanicAction, [MechanicAction, FirstMechanicAction, NotValidateIfGameFinishing, NotValidateIfGameFinished]);
831
831
  initMetadataForClass(RestartGameMechanicAction, 'RestartGameMechanicAction', VOID, MechanicAction, [MechanicAction, BufferedAction]);
832
- initMetadataForClass(SceneActMechanicAction, 'SceneActMechanicAction', VOID, MechanicAction, [MechanicAction, NavigationMechanicAction, Action, ReleaseBufferTriggerAction]);
832
+ initMetadataForClass(SceneActMechanicAction, 'SceneActMechanicAction', VOID, MechanicAction, [MechanicAction, NavigationMechanicAction, ReleaseBufferTriggerAction, Action]);
833
833
  initMetadataForClass(TeamsDataMechanicAction, 'TeamsDataMechanicAction', VOID, MechanicAction, [MechanicAction, Action, BufferedAction]);
834
834
  initMetadataForClass(PlayerReadyMechanicAction, 'PlayerReadyMechanicAction', VOID, MechanicAction, [MechanicAction, Action, PlayerTurnIdAnswerAction]);
835
835
  initMetadataForClass(SuitChoiceMechanicAction, 'SuitChoiceMechanicAction', VOID, MechanicAction, [MechanicAction, Action, PlayerTurnIdAnswerAction, ReleaseBufferTriggerAction]);
@@ -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)