Skip to content

Commit 3ca2b66

Browse files
committed
PathFollower Types
1 parent 29aee69 commit 3ca2b66

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

src/gameobjects/components/PathFollower.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ var PathFollower = {
8383
* Settings for the PathFollower.
8484
*
8585
* @name Phaser.GameObjects.PathFollower#pathConfig
86-
* @type {?Phaser.GameObjects.PathFollower.Types.PathConfig}
86+
* @type {?Phaser.Types.GameObjects.PathFollower.PathConfig}
8787
* @default null
8888
* @since 3.0.0
8989
*/
@@ -102,13 +102,13 @@ var PathFollower = {
102102
/**
103103
* Set the Path that this PathFollower should follow.
104104
*
105-
* Optionally accepts {@link Phaser.GameObjects.PathFollower.Types.PathConfig} settings.
105+
* Optionally accepts {@link Phaser.Types.GameObjects.PathFollower.PathConfig} settings.
106106
*
107107
* @method Phaser.GameObjects.Components.PathFollower#setPath
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.GameObjects.PathFollower.Types.PathConfig} [config] - Settings for the PathFollower.
111+
* @param {Phaser.Types.GameObjects.PathFollower.PathConfig} [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.GameObjects.PathFollower.Types.PathConfig)} [config={}] - The duration of the follow, or a PathFollower config object.
181+
* @param {(number|Phaser.Types.GameObjects.PathFollower.PathConfig)} [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.

src/gameobjects/pathfollower/typedefs/PathConfig.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* Settings for a PathFollower.
33
*
4-
* @typedef {object} Phaser.GameObjects.PathFollower.Types.PathConfig
4+
* @typedef {object} Phaser.Types.GameObjects.PathFollower.PathConfig
55
* @since 3.0.0
66
*
77
* @property {number} duration - The duration of the path follow in ms. Must be `> 0`.

src/gameobjects/pathfollower/typedefs/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@
55
*/
66

77
/**
8-
* @namespace Phaser.GameObjects.PathFollower.Types
8+
* @namespace Phaser.Types.GameObjects.PathFollower
99
*/

0 commit comments

Comments
 (0)