You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/tweens/typedefs/NumberTweenBuilderConfig.js
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -12,10 +12,10 @@
12
12
* @property {number} [repeat=0] - The number of times to repeat the tween.
13
13
* @property {number} [repeatDelay=0] - The number of milliseconds to pause before a tween will repeat.
14
14
* @property {boolean} [yoyo=false] - Should the tween complete, then reverse the values incrementally to get back to the starting tween values? The reverse tweening will also take `duration` milliseconds to complete.
15
-
* @property {number|function|object|array} [offset=null] - Used when the Tween is part of a Timeline.
16
-
* @property {number|function|object|array} [completeDelay=0] - The time the tween will wait before the onComplete event is dispatched once it has completed, in ms.
17
-
* @property {number|function|object|array} [loop=0] - The number of times the tween will repeat. (A value of 1 means the tween will play twice, as it repeated once.) The first loop starts after every property tween has completed once.
18
-
* @property {number|function|object|array} [loopDelay=0] - The time the tween will pause before starting either a yoyo or returning to the start for a repeat.
15
+
* @property {string|number|function|object|array} [offset=null] - Used when the Tween is part of a Timeline.
16
+
* @property {string|number|function|object|array} [completeDelay=0] - The time the tween will wait before the onComplete event is dispatched once it has completed, in ms.
17
+
* @property {string|number|function|object|array} [loop=0] - The number of times the tween will repeat. (A value of 1 means the tween will play twice, as it repeated once.) The first loop starts after every property tween has completed once.
18
+
* @property {string|number|function|object|array} [loopDelay=0] - The time the tween will pause before starting either a yoyo or returning to the start for a repeat.
19
19
* @property {boolean} [paused=false] - Does the tween start in a paused state (true) or playing (false)?
20
20
* @property {boolean} [useFrames=false] - Use frames or milliseconds?
21
21
* @property {any} [callbackScope] - Scope (this) for the callbacks. The default scope is the tween.
Copy file name to clipboardExpand all lines: src/tweens/typedefs/TweenBuilderConfig.js
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -13,10 +13,10 @@
13
13
* @property {boolean} [yoyo=false] - Should the tween complete, then reverse the values incrementally to get back to the starting tween values? The reverse tweening will also take `duration` milliseconds to complete.
14
14
* @property {boolean} [flipX=false] - Horizontally flip the target of the Tween when it completes (before it yoyos, if set to do so). Only works for targets that support the `flipX` property.
15
15
* @property {boolean} [flipY=false] - Vertically flip the target of the Tween when it completes (before it yoyos, if set to do so). Only works for targets that support the `flipY` property.
16
-
* @property {number|function|object|array} [offset=null] - Used when the Tween is part of a Timeline.
17
-
* @property {number|function|object|array} [completeDelay=0] - The time the tween will wait before the onComplete event is dispatched once it has completed, in ms.
18
-
* @property {number|function|object|array} [loop=0] - The number of times the tween will repeat. (A value of 1 means the tween will play twice, as it repeated once.) The first loop starts after every property tween has completed once.
19
-
* @property {number|function|object|array} [loopDelay=0] - The time the tween will pause before starting either a yoyo or returning to the start for a repeat.
16
+
* @property {string|number|function|object|array} [offset=null] - Used when the Tween is part of a Timeline.
17
+
* @property {string|number|function|object|array} [completeDelay=0] - The time the tween will wait before the onComplete event is dispatched once it has completed, in ms.
18
+
* @property {string|number|function|object|array} [loop=0] - The number of times the tween will repeat. (A value of 1 means the tween will play twice, as it repeated once.) The first loop starts after every property tween has completed once.
19
+
* @property {string|number|function|object|array} [loopDelay=0] - The time the tween will pause before starting either a yoyo or returning to the start for a repeat.
20
20
* @property {boolean} [paused=false] - Does the tween start in a paused state (true) or playing (false)?
21
21
* @property {Object.<string,(number|string|Phaser.Types.Tweens.GetEndCallback|Phaser.Types.Tweens.TweenPropConfig)>} [props] - The properties to tween.
22
22
* @property {boolean} [useFrames=false] - Use frames or milliseconds?
Copy file name to clipboardExpand all lines: src/utils/string/Pad.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -27,7 +27,7 @@
27
27
* @function Phaser.Utils.String.Pad
28
28
* @since 3.0.0
29
29
*
30
-
* @param {string} str - The target string. `toString()` will be called on the string, which means you can also pass in common data types like numbers.
30
+
* @param {string|number|object} str - The target string. `toString()` will be called on the string, which means you can also pass in common data types like numbers.
31
31
* @param {integer} [len=0] - The number of characters to be added.
32
32
* @param {string} [pad=" "] - The string to pad it out with (defaults to a space).
33
33
* @param {integer} [dir=3] - The direction dir = 1 (left), 2 (right), 3 (both).
0 commit comments