From b2b67c913e3e1c3f200b707630c17483c5880ccf Mon Sep 17 00:00:00 2001 From: Chris Andrew Date: Thu, 16 Aug 2018 17:33:20 +0100 Subject: [PATCH] Updated PathFollowerFactory return type. --- src/gameobjects/pathfollower/PathFollowerFactory.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gameobjects/pathfollower/PathFollowerFactory.js b/src/gameobjects/pathfollower/PathFollowerFactory.js index 6812ded6f..d9aebb9f7 100644 --- a/src/gameobjects/pathfollower/PathFollowerFactory.js +++ b/src/gameobjects/pathfollower/PathFollowerFactory.js @@ -37,7 +37,7 @@ function hasGetterOrSetter (def) * @param {string} [texture] - The key of the Texture this Game Object will use to render with, as stored in the Texture Manager. * @param {(string|integer)} [frame] - An optional frame from the Texture this Game Object is rendering with. * - * @return {Phaser.GameObjects.PathFollower} The Game Object that was created. + * @return {Phaser.GameObjects.GameObject} The Game Object that was created. */ GameObjectFactory.register('follower', function (path, x, y, key, frame) {