Skip to content

Commit 777f436

Browse files
committed
Add NumberTweenBuilderConfig to path configs
1 parent 7125334 commit 777f436

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/gameobjects/components/PathFollower.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ var PathFollower = {
108108
* @since 3.0.0
109109
*
110110
* @param {Phaser.Curves.Path} path - The Path this PathFollower is following. It can only follow one Path at a time.
111-
* @param {Phaser.Types.GameObjects.PathFollower.PathConfig} [config] - Settings for the PathFollower.
111+
* @param {(number|Phaser.Types.GameObjects.PathFollower.PathConfig|Phaser.Types.Tweens.NumberTweenBuilderConfig)} [config] - Settings for the PathFollower.
112112
*
113113
* @return {Phaser.GameObjects.PathFollower} This Game Object.
114114
*/
@@ -178,7 +178,7 @@ var PathFollower = {
178178
* @method Phaser.GameObjects.Components.PathFollower#startFollow
179179
* @since 3.3.0
180180
*
181-
* @param {(number|Phaser.Types.GameObjects.PathFollower.PathConfig)} [config={}] - The duration of the follow, or a PathFollower config object.
181+
* @param {(number|Phaser.Types.GameObjects.PathFollower.PathConfig|Phaser.Types.Tweens.NumberTweenBuilderConfig)} [config={}] - The duration of the follow, or a PathFollower config object.
182182
* @param {number} [startAt=0] - Optional start position of the follow, between 0 and 1.
183183
*
184184
* @return {Phaser.GameObjects.PathFollower} This Game Object.

0 commit comments

Comments
 (0)