pixi-rainman-game-engine 0.2.2 → 0.2.3

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.
Files changed (152) hide show
  1. package/dist/ComponentRegistry/ComponentRegistry.d.ts +0 -17
  2. package/dist/ComponentRegistry/ComponentRegistry.js +0 -17
  3. package/dist/ComponentRegistry/types.d.ts +1 -1
  4. package/dist/Money/MoneyText.d.ts +0 -2
  5. package/dist/Money/MoneyText.js +0 -2
  6. package/dist/Rainman/Rainman.d.ts +0 -2
  7. package/dist/Rainman/Rainman.js +0 -2
  8. package/dist/Rainman/appConfig.d.ts +0 -1
  9. package/dist/Rainman/appConfig.js +0 -1
  10. package/dist/application/ApiConfig/ApiConfig.d.ts +25 -43
  11. package/dist/application/ApiConfig/ApiConfig.js +25 -43
  12. package/dist/application/ApiConfig/SymbolId.d.ts +0 -5
  13. package/dist/application/ApiConfig/TransformationTypesId.d.ts +0 -4
  14. package/dist/application/ApiConfig/WinTypeId.d.ts +0 -4
  15. package/dist/application/ButtonsEventManager/ButtonsEventManager.d.ts +11 -32
  16. package/dist/application/ButtonsEventManager/ButtonsEventManager.js +11 -32
  17. package/dist/application/SoundManager/SoundManager.d.ts +8 -18
  18. package/dist/application/SoundManager/SoundManager.js +8 -18
  19. package/dist/application/SoundManager/types.d.ts +2 -4
  20. package/dist/application/SoundManager/types.js +1 -2
  21. package/dist/application/SpeedState/SpeedLevelHandler.d.ts +2 -8
  22. package/dist/application/SpeedState/SpeedLevelHandler.js +2 -8
  23. package/dist/application/SpinLogic/SpinLogic.d.ts +0 -2
  24. package/dist/application/SpinLogic/SpinLogic.js +0 -2
  25. package/dist/application/SpinLogic/SpinLogicDTO.d.ts +4 -9
  26. package/dist/application/SpinLogic/SpinLogicDTO.js +4 -9
  27. package/dist/application/SpinLogic/WinScenarios.d.ts +1 -1
  28. package/dist/application/SpinLogic/WinScenarios.js +1 -1
  29. package/dist/application/SpinLogic/util.d.ts +13 -18
  30. package/dist/application/SpinLogic/util.js +13 -20
  31. package/dist/components/AbstractFreeSpinContainer/AbstractFreeSpinContainer.d.ts +1 -3
  32. package/dist/components/AbstractFreeSpinContainer/AbstractFreeSpinContainer.js +1 -3
  33. package/dist/components/AbstractMainContainer/AbstractMainContainer.d.ts +19 -22
  34. package/dist/components/AbstractMainContainer/AbstractMainContainer.js +19 -22
  35. package/dist/components/GambleGame/GambleGame.d.ts +1 -3
  36. package/dist/components/GambleGame/GambleGame.js +1 -3
  37. package/dist/components/buttons/BaseButton/BaseButton.d.ts +1 -3
  38. package/dist/components/buttons/BaseButton/BaseButton.js +1 -3
  39. package/dist/components/buttons/BaseButton/ButtonState.d.ts +1 -1
  40. package/dist/components/buttons/BaseButton/ButtonState.js +1 -1
  41. package/dist/components/buttons/buttonGroups/LeftButtons.d.ts +1 -3
  42. package/dist/components/buttons/buttonGroups/LeftButtons.js +1 -3
  43. package/dist/components/buttons/buttonGroups/MiddleButtons.d.ts +0 -1
  44. package/dist/components/buttons/buttonGroups/MiddleButtons.js +0 -1
  45. package/dist/components/buttons/buttonGroups/RightButtons.d.ts +2 -3
  46. package/dist/components/buttons/buttonGroups/RightButtons.js +2 -3
  47. package/dist/components/buttons/buttonGroups/RightButtonsLandscape.d.ts +1 -1
  48. package/dist/components/buttons/buttonGroups/RightButtonsLandscape.js +1 -1
  49. package/dist/components/buttons/default/AutoplayButton.d.ts +2 -3
  50. package/dist/components/buttons/default/AutoplayButton.js +2 -3
  51. package/dist/components/buttons/default/BlackButton.d.ts +1 -2
  52. package/dist/components/buttons/default/BlackButton.js +1 -2
  53. package/dist/components/buttons/default/CollectButton.d.ts +2 -3
  54. package/dist/components/buttons/default/CollectButton.js +2 -3
  55. package/dist/components/buttons/default/InfoButton.d.ts +1 -1
  56. package/dist/components/buttons/default/InfoButton.js +1 -1
  57. package/dist/components/buttons/default/MoreButton.d.ts +1 -1
  58. package/dist/components/buttons/default/MoreButton.js +1 -1
  59. package/dist/components/buttons/default/NegButton.d.ts +1 -1
  60. package/dist/components/buttons/default/NegButton.js +1 -1
  61. package/dist/components/buttons/default/PlusButton.d.ts +1 -1
  62. package/dist/components/buttons/default/PlusButton.js +1 -1
  63. package/dist/components/buttons/default/RedButton.d.ts +1 -1
  64. package/dist/components/buttons/default/RedButton.js +1 -1
  65. package/dist/components/buttons/default/RefreshButton.d.ts +2 -1
  66. package/dist/components/buttons/default/RefreshButton.js +2 -1
  67. package/dist/components/buttons/default/SpeedControlButton.d.ts +1 -1
  68. package/dist/components/buttons/default/SpeedControlButton.js +1 -1
  69. package/dist/components/buttons/default/SpinConfirmationButton.d.ts +1 -0
  70. package/dist/components/buttons/default/SpinConfirmationButton.js +1 -0
  71. package/dist/components/buttons/default/VolumeButton.d.ts +1 -1
  72. package/dist/components/buttons/default/VolumeButton.js +1 -1
  73. package/dist/components/common/AnimatedBackground.d.ts +1 -5
  74. package/dist/components/common/AnimatedBackground.js +1 -5
  75. package/dist/components/common/Background.d.ts +3 -5
  76. package/dist/components/common/Background.js +3 -5
  77. package/dist/components/common/FreeSpinButton.d.ts +1 -3
  78. package/dist/components/common/FreeSpinButton.js +1 -3
  79. package/dist/components/common/Logo.d.ts +1 -3
  80. package/dist/components/common/Logo.js +1 -3
  81. package/dist/components/common/LogoStatic.d.ts +1 -3
  82. package/dist/components/common/LogoStatic.js +1 -3
  83. package/dist/components/common/ResumableContainers.d.ts +6 -6
  84. package/dist/components/common/ResumableContainers.js +6 -6
  85. package/dist/components/frame/AbstractColumnsContainer.d.ts +3 -9
  86. package/dist/components/frame/AbstractColumnsContainer.js +3 -9
  87. package/dist/components/frame/AbstractFrame.d.ts +6 -12
  88. package/dist/components/frame/AbstractFrame.js +6 -12
  89. package/dist/components/frame/AbstractInnerFrame.d.ts +1 -3
  90. package/dist/components/frame/AbstractInnerFrame.js +1 -3
  91. package/dist/components/frame/WinLineAnimation.d.ts +1 -3
  92. package/dist/components/frame/WinLineAnimation.js +1 -3
  93. package/dist/components/frame/constants.d.ts +7 -0
  94. package/dist/components/frame/constants.js +3 -0
  95. package/dist/components/frame/types.d.ts +4 -0
  96. package/dist/components/messageBox/MessageBox.d.ts +1 -3
  97. package/dist/components/messageBox/MessageBox.js +1 -3
  98. package/dist/components/symbols/AbstractSymbolBase.d.ts +1 -2
  99. package/dist/components/symbols/AbstractSymbolBase.js +1 -2
  100. package/dist/components/symbols/AbstractSymbolsColumn.d.ts +1 -3
  101. package/dist/components/symbols/AbstractSymbolsColumn.js +1 -3
  102. package/dist/components/symbols/DroppableSymbol.d.ts +0 -2
  103. package/dist/components/symbols/DroppableSymbol.js +0 -2
  104. package/dist/components/symbols/DroppableSymbolsColumn.d.ts +0 -2
  105. package/dist/components/symbols/DroppableSymbolsColumn.js +0 -2
  106. package/dist/components/symbols/types.d.ts +0 -1
  107. package/dist/components/symbols/types.js +0 -1
  108. package/dist/components/updatable/UpdatableTextComponent.d.ts +1 -3
  109. package/dist/components/updatable/UpdatableTextComponent.js +1 -3
  110. package/dist/components/updatable/UpdatableValueComponent.d.ts +1 -3
  111. package/dist/components/updatable/UpdatableValueComponent.js +1 -3
  112. package/dist/components/winLineIndicator/WinLineIndicator.d.ts +1 -3
  113. package/dist/components/winLineIndicator/WinLineIndicator.js +1 -3
  114. package/dist/connectivity/ConnectionWrapper.d.ts +1 -4
  115. package/dist/connectivity/ConnectionWrapper.js +1 -4
  116. package/dist/connectivity/LocalConnectionWrapper.d.ts +1 -1
  117. package/dist/connectivity/LocalConnectionWrapper.js +1 -1
  118. package/dist/connectivity/apiQueue.d.ts +2 -3
  119. package/dist/connectivity/apiQueue.js +2 -3
  120. package/dist/connectivity/wins.d.ts +0 -9
  121. package/dist/controllers/AbstractController.d.ts +26 -40
  122. package/dist/controllers/AbstractController.js +27 -40
  123. package/dist/controllers/QuickStopController.d.ts +1 -1
  124. package/dist/controllers/QuickStopController.js +1 -1
  125. package/dist/controllers/UiController.d.ts +2 -4
  126. package/dist/controllers/UiController.js +2 -4
  127. package/dist/loading/AbstractLoadingContainer.d.ts +1 -3
  128. package/dist/loading/AbstractLoadingContainer.js +1 -3
  129. package/dist/loading/ProgressiveLoader.d.ts +0 -2
  130. package/dist/loading/SpriteLoadingContainer.d.ts +1 -4
  131. package/dist/loading/SpriteLoadingContainer.js +1 -4
  132. package/dist/localStorage/localStorage.d.ts +0 -2
  133. package/dist/localStorage/localStorage.js +0 -2
  134. package/dist/stores/SettingsStore.d.ts +5 -10
  135. package/dist/stores/SettingsStore.js +5 -10
  136. package/dist/utils/assets/assetGetter.d.ts +10 -18
  137. package/dist/utils/assets/assetGetter.js +10 -18
  138. package/dist/utils/common/deviceOrientation.d.ts +1 -2
  139. package/dist/utils/common/deviceOrientation.js +1 -2
  140. package/dist/utils/common/functions.d.ts +7 -7
  141. package/dist/utils/common/functions.js +7 -7
  142. package/dist/utils/common/placementHelpers.d.ts +2 -3
  143. package/dist/utils/common/placementHelpers.js +4 -5
  144. package/dist/winComponents/AnimableParticlesEmitter.d.ts +1 -4
  145. package/dist/winComponents/AnimableParticlesEmitter.js +1 -4
  146. package/dist/winComponents/PositioningFrame.d.ts +1 -3
  147. package/dist/winComponents/PositioningFrame.js +1 -3
  148. package/dist/winComponents/UpdatableSpineContainer.d.ts +1 -3
  149. package/dist/winComponents/UpdatableSpineContainer.js +1 -3
  150. package/dist/winComponents/winFactory.d.ts +8 -9
  151. package/dist/winComponents/winFactory.js +8 -9
  152. package/package.json +3 -1
@@ -7,12 +7,10 @@ import { AbstractFrame } from "./AbstractFrame";
7
7
  import { WIN_MULTIPLIER_VALUES } from "./constants";
8
8
  /**
9
9
  * Class represents columns container in game
10
- *
11
- * @export
12
10
  * @abstract
13
11
  * @class AbstractColumnsContainer
14
12
  * @typedef {AbstractColumnsContainer}
15
- * @extends {Container}
13
+ * @augments {Container}
16
14
  * @implements {SpeedAdapterInterface<number>}
17
15
  */
18
16
  export class AbstractColumnsContainer extends Container {
@@ -69,9 +67,7 @@ export class AbstractColumnsContainer extends Container {
69
67
  }
70
68
  /**
71
69
  * This function is responsible for setting symbols in columns
72
- *
73
70
  * @public
74
- * @async
75
71
  * @param {SymbolReels} finalSymbolReels
76
72
  * @param {(value: void | PromiseLike<void>) => void} afterSpinResolver
77
73
  * @param {number[]} indexesOfReelsToExtendSpinningTime
@@ -171,13 +167,11 @@ export class AbstractColumnsContainer extends Container {
171
167
  }
172
168
  /**
173
169
  * Function for playing animation of streak
174
- *
175
170
  * @public
176
- * @async
177
171
  * @param {StreakReelsIndexes} streak
178
172
  * @param {number} reelsQuantity
179
- * @param {number} [multiplier=1]
180
- * @param {string} [suffix=""]
173
+ * @param {number} [multiplier]
174
+ * @param {string} [suffix]
181
175
  * @returns {Promise<void>}
182
176
  */
183
177
  async playStreak(streak, reelsQuantity, multiplier = 1, suffix = "") {
@@ -8,13 +8,11 @@ import { MysteryFxCoordinates } from "./types";
8
8
  import { WinLineAnimation } from "./WinLineAnimation";
9
9
  /**
10
10
  * Class aggregating all reels and activities related to them. Each frame has its own proportions, which allow for proper positioning on the screen.
11
- * This represents all of elements in center frame like {@link ColumnsContainer}, frame animation (on {@link FrameLayer})
12
- *
13
- * @export
11
+ * This represents all of elements in center frame like {@link AbstractColumnsContainer}, frame animation (on {@link FrameLayer})
14
12
  * @abstract
15
13
  * @class AbstractFrame
16
14
  * @typedef {AbstractFrame}
17
- * @extends {ResumableContainer}
15
+ * @augments {ResumableContainer}
18
16
  * @implements {SpeedAdapterInterface<number>}
19
17
  */
20
18
  export declare abstract class AbstractFrame extends ResumableContainer implements SpeedAdapterInterface<number> {
@@ -38,9 +36,8 @@ export declare abstract class AbstractFrame extends ResumableContainer implement
38
36
  adaptToSpeed(speedLevel: SpeedLevel): void;
39
37
  /**
40
38
  * Invoke mystery fx on symbol position
41
- *
42
- * @param x {number}
43
- * @param y {number}
39
+ * @param {number} x - x position of reel
40
+ * @param {number} y - y position of reel
44
41
  */
45
42
  invokeMysteryFx(x: number, y: number): void;
46
43
  protected repositionMysteryFx(_x: number, _y: number): void;
@@ -49,13 +46,12 @@ export declare abstract class AbstractFrame extends ResumableContainer implement
49
46
  destroyMysteryFx(): void;
50
47
  /**
51
48
  * Create win line animation, individual for each game, based on {@link WinLineAnimation}
52
- * */
49
+ */
53
50
  protected createWinLineAnimation(_animationName: string): WinLineAnimation | null;
54
51
  playAllWinLineAnimations(animationNames: string[]): Promise<void>;
55
52
  /**
56
53
  * Creates and plays win line animation.
57
- *
58
- * @param animationName
54
+ * @param {string} animationName - name of the winning line to play
59
55
  */
60
56
  playWinLineAnimation(animationName: string): Promise<void>;
61
57
  stopPlayingWinLineAnimations(): void;
@@ -68,7 +64,6 @@ export declare abstract class AbstractFrame extends ResumableContainer implement
68
64
  * This method is use when bonus games are triggered
69
65
  * It is used to change the frame animation
70
66
  * Remember to change resize for this method
71
- *
72
67
  * @protected
73
68
  */
74
69
  protected changeForBonusGame(): void;
@@ -76,7 +71,6 @@ export declare abstract class AbstractFrame extends ResumableContainer implement
76
71
  * This method is use when normal game is triggered
77
72
  * It is used to change the frame animation
78
73
  * Remember to change resize for this method
79
- *
80
74
  * @abstract
81
75
  */
82
76
  protected changeForNormalGame(): void;
@@ -6,13 +6,11 @@ import { getDeviceOrientation, getSpineData, logError, scaleToParent } from "../
6
6
  import { ResumableContainer } from "../common";
7
7
  /**
8
8
  * Class aggregating all reels and activities related to them. Each frame has its own proportions, which allow for proper positioning on the screen.
9
- * This represents all of elements in center frame like {@link ColumnsContainer}, frame animation (on {@link FrameLayer})
10
- *
11
- * @export
9
+ * This represents all of elements in center frame like {@link AbstractColumnsContainer}, frame animation (on {@link FrameLayer})
12
10
  * @abstract
13
11
  * @class AbstractFrame
14
12
  * @typedef {AbstractFrame}
15
- * @extends {ResumableContainer}
13
+ * @augments {ResumableContainer}
16
14
  * @implements {SpeedAdapterInterface<number>}
17
15
  */
18
16
  export class AbstractFrame extends ResumableContainer {
@@ -38,9 +36,8 @@ export class AbstractFrame extends ResumableContainer {
38
36
  }
39
37
  /**
40
38
  * Invoke mystery fx on symbol position
41
- *
42
- * @param x {number}
43
- * @param y {number}
39
+ * @param {number} x - x position of reel
40
+ * @param {number} y - y position of reel
44
41
  */
45
42
  invokeMysteryFx(x, y) {
46
43
  if (!this.mysteryFxConfig)
@@ -87,7 +84,7 @@ export class AbstractFrame extends ResumableContainer {
87
84
  }
88
85
  /**
89
86
  * Create win line animation, individual for each game, based on {@link WinLineAnimation}
90
- * */
87
+ */
91
88
  createWinLineAnimation(_animationName) {
92
89
  return null;
93
90
  }
@@ -96,8 +93,7 @@ export class AbstractFrame extends ResumableContainer {
96
93
  }
97
94
  /**
98
95
  * Creates and plays win line animation.
99
- *
100
- * @param animationName
96
+ * @param {string} animationName - name of the winning line to play
101
97
  */
102
98
  async playWinLineAnimation(animationName) {
103
99
  const winLineAnimation = this.createWinLineAnimation(animationName);
@@ -151,7 +147,6 @@ export class AbstractFrame extends ResumableContainer {
151
147
  * This method is use when bonus games are triggered
152
148
  * It is used to change the frame animation
153
149
  * Remember to change resize for this method
154
- *
155
150
  * @protected
156
151
  */
157
152
  changeForBonusGame() { }
@@ -159,7 +154,6 @@ export class AbstractFrame extends ResumableContainer {
159
154
  * This method is use when normal game is triggered
160
155
  * It is used to change the frame animation
161
156
  * Remember to change resize for this method
162
- *
163
157
  * @abstract
164
158
  */
165
159
  changeForNormalGame() { }
@@ -2,12 +2,10 @@ import { Container } from "pixi.js";
2
2
  import { AbstractColumnsContainer } from "./AbstractColumnsContainer";
3
3
  /**
4
4
  * Wrapper class for Columns Container {@link ColumnsContainer}
5
- *
6
- * @export
7
5
  * @abstract
8
6
  * @class AbstractInnerFrame
9
7
  * @typedef {AbstractInnerFrame}
10
- * @extends {Container}
8
+ * @augments {Container}
11
9
  */
12
10
  export declare abstract class AbstractInnerFrame extends Container {
13
11
  static readonly registryName = "innerFrame";
@@ -2,12 +2,10 @@ import { Container } from "pixi.js";
2
2
  import { FrameLayer } from "../../layers";
3
3
  /**
4
4
  * Wrapper class for Columns Container {@link ColumnsContainer}
5
- *
6
- * @export
7
5
  * @abstract
8
6
  * @class AbstractInnerFrame
9
7
  * @typedef {AbstractInnerFrame}
10
- * @extends {Container}
8
+ * @augments {Container}
11
9
  */
12
10
  export class AbstractInnerFrame extends Container {
13
11
  static registryName = "innerFrame";
@@ -2,11 +2,9 @@ import { Spine } from "pixi-spine";
2
2
  /**
3
3
  * Class representing win line
4
4
  * This class plays the animation and load it from assets
5
- *
6
- * @export
7
5
  * @class WinLineAnimation
8
6
  * @typedef {WinLineAnimation}
9
- * @extends {Spine}
7
+ * @augments {Spine}
10
8
  */
11
9
  export declare class WinLineAnimation extends Spine {
12
10
  private readonly animationName;
@@ -5,11 +5,9 @@ import { getSpineData } from "../../utils";
5
5
  /**
6
6
  * Class representing win line
7
7
  * This class plays the animation and load it from assets
8
- *
9
- * @export
10
8
  * @class WinLineAnimation
11
9
  * @typedef {WinLineAnimation}
12
- * @extends {Spine}
10
+ * @augments {Spine}
13
11
  */
14
12
  export class WinLineAnimation extends Spine {
15
13
  animationName;
@@ -1,3 +1,6 @@
1
+ /**
2
+ * Object containing the values for the win multipliers.
3
+ */
1
4
  export declare const WIN_MULTIPLIER_VALUES: {
2
5
  readonly LOW_WIN: 1;
3
6
  readonly MEDIUM_WIN_MIN: 1.1;
@@ -6,4 +9,8 @@ export declare const WIN_MULTIPLIER_VALUES: {
6
9
  readonly HIGH_WIN_MAX: 15;
7
10
  readonly VERY_HIGH_WIN: 15.1;
8
11
  };
12
+ /**
13
+ * Type for the win multiplier values.
14
+ * @typedef {WinMultiplierValues}
15
+ */
9
16
  export type WinMultiplierValues = (typeof WIN_MULTIPLIER_VALUES)[keyof typeof WIN_MULTIPLIER_VALUES];
@@ -1,3 +1,6 @@
1
+ /**
2
+ * Object containing the values for the win multipliers.
3
+ */
1
4
  export const WIN_MULTIPLIER_VALUES = {
2
5
  LOW_WIN: 1,
3
6
  MEDIUM_WIN_MIN: 1.1,
@@ -1,3 +1,7 @@
1
+ /**
2
+ * Type for coordinates of mystery fx
3
+ * @typedef MysteryFxCoordinates
4
+ */
1
5
  export type MysteryFxCoordinates = {
2
6
  x: number;
3
7
  y: number;
@@ -8,11 +8,9 @@ import { SymbolId } from "../../application";
8
8
  * - free spins left
9
9
  * - incentive message
10
10
  * - win line indicator
11
- *
12
- * @export
13
11
  * @class MessageBox
14
12
  * @typedef {MessageBox}
15
- * @extends {Container}
13
+ * @augments {Container}
16
14
  */
17
15
  export declare class MessageBox extends Container {
18
16
  static readonly registryName = "messageBox";
@@ -13,11 +13,9 @@ import { getDeviceOrientation, globalMinRatio } from "../../utils";
13
13
  * - free spins left
14
14
  * - incentive message
15
15
  * - win line indicator
16
- *
17
- * @export
18
16
  * @class MessageBox
19
17
  * @typedef {MessageBox}
20
- * @extends {Container}
18
+ * @augments {Container}
21
19
  */
22
20
  export class MessageBox extends Container {
23
21
  static registryName = "messageBox";
@@ -4,11 +4,10 @@ import { SymbolId } from "../../application";
4
4
  import { LoadersSpineData, Nullable } from "../../utils";
5
5
  /**
6
6
  * Class represents symbol which is displayed in columns
7
- * @export
8
7
  * @abstract
9
8
  * @class AbstractSymbolBase
10
9
  * @typedef {AbstractSymbolBase}
11
- * @extends {Container}
10
+ * @augments {Container}
12
11
  */
13
12
  export declare abstract class AbstractSymbolBase extends Container {
14
13
  private multiplierSpineName;
@@ -6,11 +6,10 @@ import { RainMan } from "../../Rainman";
6
6
  import { getSpineData, getTexture, togglePaytable } from "../../utils";
7
7
  /**
8
8
  * Class represents symbol which is displayed in columns
9
- * @export
10
9
  * @abstract
11
10
  * @class AbstractSymbolBase
12
11
  * @typedef {AbstractSymbolBase}
13
- * @extends {Container}
12
+ * @augments {Container}
14
13
  */
15
14
  export class AbstractSymbolBase extends Container {
16
15
  multiplierSpineName;
@@ -7,12 +7,10 @@ import { AbstractSymbolBase } from "./AbstractSymbolBase";
7
7
  import { AnimationTimeSettings } from "./types";
8
8
  /**
9
9
  * Class represent single column in {@link ColumnsContainer}. It contains array of {@link AbstractSymbolBase}
10
- *
11
- * @export
12
10
  * @abstract
13
11
  * @class AbstractSymbolsColumn
14
12
  * @typedef {AbstractSymbolsColumn}
15
- * @extends {Container}
13
+ * @augments {Container}
16
14
  * @implements {SpeedAdapterInterface<number>}
17
15
  */
18
16
  export declare abstract class AbstractSymbolsColumn extends Container implements SpeedAdapterInterface<number> {
@@ -9,12 +9,10 @@ import { droppableSymbolsFactory } from "./DroppableSymbolsColumn";
9
9
  import { Phase, Speed } from "./types";
10
10
  /**
11
11
  * Class represent single column in {@link ColumnsContainer}. It contains array of {@link AbstractSymbolBase}
12
- *
13
- * @export
14
12
  * @abstract
15
13
  * @class AbstractSymbolsColumn
16
14
  * @typedef {AbstractSymbolsColumn}
17
- * @extends {Container}
15
+ * @augments {Container}
18
16
  * @implements {SpeedAdapterInterface<number>}
19
17
  */
20
18
  export class AbstractSymbolsColumn extends Container {
@@ -2,8 +2,6 @@ import { SymbolId } from "../../application";
2
2
  import { AbstractSymbolBase } from "./AbstractSymbolBase";
3
3
  /**
4
4
  * This class represents symbol that can be dropped from column. Based on transformation type `drop` from {@link transformationTypes}
5
- *
6
- * @export
7
5
  * @class DroppableSymbol
8
6
  * @typedef {DroppableSymbol}
9
7
  */
@@ -1,7 +1,5 @@
1
1
  /**
2
2
  * This class represents symbol that can be dropped from column. Based on transformation type `drop` from {@link transformationTypes}
3
- *
4
- * @export
5
3
  * @class DroppableSymbol
6
4
  * @typedef {DroppableSymbol}
7
5
  */
@@ -4,8 +4,6 @@ import { DroppableSymbol } from "./DroppableSymbol";
4
4
  export declare const droppableSymbolsFactory: (sortedByYSymbolsInColumns: AbstractSymbolBase[], numberOfRows: number) => DroppableSymbolsColumn;
5
5
  /**
6
6
  * Class represents symbol column that can replace symbols
7
- *
8
- * @export
9
7
  * @class DroppableSymbolsColumn
10
8
  * @typedef {DroppableSymbolsColumn}
11
9
  */
@@ -8,8 +8,6 @@ export const droppableSymbolsFactory = (sortedByYSymbolsInColumns, numberOfRows)
8
8
  };
9
9
  /**
10
10
  * Class represents symbol column that can replace symbols
11
- *
12
- * @export
13
11
  * @class DroppableSymbolsColumn
14
12
  * @typedef {DroppableSymbolsColumn}
15
13
  */
@@ -12,7 +12,6 @@ export declare enum Speed {
12
12
  }
13
13
  /**
14
14
  * Enum that describes the phase of columns
15
- *
16
15
  * @param {Phase} SPINNING - spinning
17
16
  * @param {Phase} RESULT_SET - result was set, should stop when able
18
17
  * @param {Phase} BOUNCE - bouncing
@@ -5,7 +5,6 @@ export var Speed;
5
5
  })(Speed || (Speed = {}));
6
6
  /**
7
7
  * Enum that describes the phase of columns
8
- *
9
8
  * @param {Phase} SPINNING - spinning
10
9
  * @param {Phase} RESULT_SET - result was set, should stop when able
11
10
  * @param {Phase} BOUNCE - bouncing
@@ -3,10 +3,8 @@ import { UpdatableValueComponent } from "./UpdatableValueComponent";
3
3
  /**
4
4
  * Class for managing updatable text components
5
5
  * This component is used for updating text components i.e: balance, win amount, etc.
6
- *
7
- * @exports
8
6
  * @class UpdatableTextComponent
9
- * @extends {UpdatableValueComponent}
7
+ * @augments {UpdatableValueComponent}
10
8
  */
11
9
  export declare class UpdatableTextComponent extends UpdatableValueComponent {
12
10
  constructor(registryName: string, baseText: string, mode: UpdatableMode, fontSize?: number, fontColor?: string, updateCallback?: () => void);
@@ -4,10 +4,8 @@ import { UpdatableValueComponent } from "./UpdatableValueComponent";
4
4
  /**
5
5
  * Class for managing updatable text components
6
6
  * This component is used for updating text components i.e: balance, win amount, etc.
7
- *
8
- * @exports
9
7
  * @class UpdatableTextComponent
10
- * @extends {UpdatableValueComponent}
8
+ * @augments {UpdatableValueComponent}
11
9
  */
12
10
  export class UpdatableTextComponent extends UpdatableValueComponent {
13
11
  constructor(registryName, baseText, mode, fontSize = RainMan.config.fontSize, fontColor, updateCallback) {
@@ -5,11 +5,9 @@ import { UpdatableMode } from "./types";
5
5
  /**
6
6
  * Abstract class for updatable text components
7
7
  * This component is used for updating text components i.e: balance, win amount, etc.
8
- *
9
- * @export
10
8
  * @abstract
11
9
  * @class UpdatableValueComponent
12
- * @extends {Container}
10
+ * @augments {Container}
13
11
  * @implements {SpeedAdapterInterface<number>}
14
12
  * @typedef {UpdatableValueComponent}
15
13
  */
@@ -8,11 +8,9 @@ import { UPDATABLE_MODES } from "./types";
8
8
  /**
9
9
  * Abstract class for updatable text components
10
10
  * This component is used for updating text components i.e: balance, win amount, etc.
11
- *
12
- * @export
13
11
  * @abstract
14
12
  * @class UpdatableValueComponent
15
- * @extends {Container}
13
+ * @augments {Container}
16
14
  * @implements {SpeedAdapterInterface<number>}
17
15
  * @typedef {UpdatableValueComponent}
18
16
  */
@@ -5,10 +5,8 @@ import { SymbolId } from "../../application";
5
5
  * This class requires a message and symbol ids to display the winning line
6
6
  * Remember to specify function getImageForSymbolId to get the image for the symbol id
7
7
  * This default is looking for symbols with "-w" suffix
8
- *
9
- * @exports
10
8
  * @class WinLineIndicator
11
- * @extends {Container}
9
+ * @augments {Container}
12
10
  */
13
11
  export declare class WinLineIndicator extends Container {
14
12
  private symbolIds;
@@ -7,10 +7,8 @@ import { getTexture } from "../../utils";
7
7
  * This class requires a message and symbol ids to display the winning line
8
8
  * Remember to specify function getImageForSymbolId to get the image for the symbol id
9
9
  * This default is looking for symbols with "-w" suffix
10
- *
11
- * @exports
12
10
  * @class WinLineIndicator
13
- * @extends {Container}
11
+ * @augments {Container}
14
12
  */
15
13
  export class WinLineIndicator extends Container {
16
14
  symbolIds;
@@ -2,7 +2,7 @@ import { ExtraDataRequest, GambleCardColor, GambleDataInterface, InitDataInterfa
2
2
  /**
3
3
  * Class for managing connection to the server via websockets
4
4
  *
5
- * @exports
5
+ *
6
6
  */
7
7
  export declare class ConnectionWrapper implements SubscribableConnectionWrapper {
8
8
  private webSocketConnection;
@@ -13,7 +13,6 @@ export declare class ConnectionWrapper implements SubscribableConnectionWrapper
13
13
  private subscribers;
14
14
  /**
15
15
  * Mapper function for data that comes from the server
16
- *
17
16
  * @param {ServerMessage} messageData - data obtained from the server
18
17
  */
19
18
  private handleMessage;
@@ -32,7 +31,6 @@ export declare class ConnectionWrapper implements SubscribableConnectionWrapper
32
31
  private transformFreeSpinData;
33
32
  /**
34
33
  * Method for fetching spin data from the server
35
- *
36
34
  * @param {number} roundNumber
37
35
  * @param {number} bet
38
36
  * @param {ExtraDataRequest} extra_data
@@ -43,7 +41,6 @@ export declare class ConnectionWrapper implements SubscribableConnectionWrapper
43
41
  private getFreshWsInstance;
44
42
  /**
45
43
  * Method for fetching data from the server
46
- *
47
44
  * @param {ServerRequest} request
48
45
  * @returns {ServerMessage}
49
46
  */
@@ -8,7 +8,7 @@ const overrideMap = new Map();
8
8
  /**
9
9
  * Class for managing connection to the server via websockets
10
10
  *
11
- * @exports
11
+ *
12
12
  */
13
13
  export class ConnectionWrapper {
14
14
  webSocketConnection;
@@ -19,7 +19,6 @@ export class ConnectionWrapper {
19
19
  subscribers = [];
20
20
  /**
21
21
  * Mapper function for data that comes from the server
22
- *
23
22
  * @param {ServerMessage} messageData - data obtained from the server
24
23
  */
25
24
  handleMessage = (messageData) => {
@@ -111,7 +110,6 @@ export class ConnectionWrapper {
111
110
  }
112
111
  /**
113
112
  * Method for fetching spin data from the server
114
- *
115
113
  * @param {number} roundNumber
116
114
  * @param {number} bet
117
115
  * @param {ExtraDataRequest} extra_data
@@ -151,7 +149,6 @@ export class ConnectionWrapper {
151
149
  }
152
150
  /**
153
151
  * Method for fetching data from the server
154
- *
155
152
  * @param {ServerRequest} request
156
153
  * @returns {ServerMessage}
157
154
  */
@@ -4,7 +4,7 @@ import { SpinData } from "./spinData";
4
4
  /**
5
5
  * Class for mocking connection to the server
6
6
  *
7
- * @exports
7
+ *
8
8
  */
9
9
  export declare class LocalConnectionWrapper implements SubscribableConnectionWrapper {
10
10
  private initResponse;
@@ -6,7 +6,7 @@ import { SpinData } from "./spinData";
6
6
  /**
7
7
  * Class for mocking connection to the server
8
8
  *
9
- * @exports
9
+ *
10
10
  */
11
11
  export class LocalConnectionWrapper {
12
12
  initResponse;
@@ -2,8 +2,7 @@ import { ServerMessage } from "./serverConnection";
2
2
  /**
3
3
  * Function to get the next response from the queue
4
4
  * This used responses that stores in api directory
5
- *
6
- * @param {ServerMessage | ServerMessage[]} localResponse
7
- * @returns {ServerMessage}
5
+ * @param {ServerMessage | ServerMessage[]} localResponse - response to return
6
+ * @returns {ServerMessage} - response from the queue
8
7
  */
9
8
  export declare const apiQueue: (localResponse: ServerMessage | ServerMessage[]) => any;
@@ -3,9 +3,8 @@ let apiIndex = 0;
3
3
  /**
4
4
  * Function to get the next response from the queue
5
5
  * This used responses that stores in api directory
6
- *
7
- * @param {ServerMessage | ServerMessage[]} localResponse
8
- * @returns {ServerMessage}
6
+ * @param {ServerMessage | ServerMessage[]} localResponse - response to return
7
+ * @returns {ServerMessage} - response from the queue
9
8
  */
10
9
  export const apiQueue = (localResponse) => {
11
10
  const response = window.testingData?.apiQueue || localResponse;
@@ -4,8 +4,6 @@ import { Nullable } from "../utils";
4
4
  import { TransformationDetails } from "./transformation";
5
5
  /**
6
6
  * This type contains basic information about win in game
7
- *
8
- * @export
9
7
  * @typedef {BaseWin}
10
8
  */
11
9
  export type BaseWin = {
@@ -65,8 +63,6 @@ export type CoinWin = BaseWin & {
65
63
  export type Win = StreakWin | FreeSpinWin | GambleWin | MysteryWin | EggWin | GoldWin | BigWin | BonusWin | SuperBonusWin | ScatterWin | RouletteWin | JackpotWin | CoinWin | MultiWin | JokerWin;
66
64
  /**
67
65
  * Type represents data that come from backend
68
- *
69
- * @export
70
66
  * @typedef {WinDetails}
71
67
  */
72
68
  export type WinDetails = {
@@ -87,16 +83,11 @@ export type WinWithTransformation = {
87
83
  };
88
84
  /**
89
85
  * This type represents all of the possible win types in all of Rainman games
90
- *
91
- *
92
- * @export
93
86
  * @typedef {WinTypes}
94
87
  */
95
88
  export type WinTypes = (typeof PossibleWins)[keyof typeof PossibleWins];
96
89
  /**
97
90
  * This type represents symbols in one row
98
- *
99
- * @export
100
91
  * @typedef {SymbolReel}
101
92
  */
102
93
  export type SymbolReel = SymbolId[];