pixi-rainman-game-engine 0.1.39 → 0.1.40
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.
|
@@ -52,18 +52,16 @@ export declare abstract class AbstractFrame extends ResumableContainer implement
|
|
|
52
52
|
* Remember to change resize for this method
|
|
53
53
|
*
|
|
54
54
|
* @protected
|
|
55
|
-
* @abstract
|
|
56
55
|
*/
|
|
57
|
-
protected
|
|
56
|
+
protected changeForBonusGame(): void;
|
|
58
57
|
/**
|
|
59
58
|
* This method is use when normal game is triggered
|
|
60
59
|
* It is used to change the frame animation
|
|
61
60
|
* Remember to change resize for this method
|
|
62
61
|
*
|
|
63
62
|
* @abstract
|
|
64
|
-
* @protected
|
|
65
63
|
*/
|
|
66
|
-
protected
|
|
64
|
+
protected changeForNormalGame(): void;
|
|
67
65
|
protected abstract getFrameScale(): {
|
|
68
66
|
vertical: number;
|
|
69
67
|
horizontal: number;
|
|
@@ -127,6 +127,22 @@ export class AbstractFrame extends ResumableContainer {
|
|
|
127
127
|
this.winLineAnimations.forEach((winLineAnimation) => this.addChild(winLineAnimation));
|
|
128
128
|
this.reposition();
|
|
129
129
|
}
|
|
130
|
+
/**
|
|
131
|
+
* This method is use when bonus games are triggered
|
|
132
|
+
* It is used to change the frame animation
|
|
133
|
+
* Remember to change resize for this method
|
|
134
|
+
*
|
|
135
|
+
* @protected
|
|
136
|
+
*/
|
|
137
|
+
changeForBonusGame() { }
|
|
138
|
+
/**
|
|
139
|
+
* This method is use when normal game is triggered
|
|
140
|
+
* It is used to change the frame animation
|
|
141
|
+
* Remember to change resize for this method
|
|
142
|
+
*
|
|
143
|
+
* @abstract
|
|
144
|
+
*/
|
|
145
|
+
changeForNormalGame() { }
|
|
130
146
|
transformedWidth() {
|
|
131
147
|
return RainMan.app.screen.width * this.getFrameScale().horizontal;
|
|
132
148
|
}
|
package/package.json
CHANGED