mirror of
https://github.com/photonstorm/phaser
synced 2024-11-21 12:13:19 +00:00
Updated PathFollowerFactory return type.
This commit is contained in:
parent
ce1c83491d
commit
b2b67c913e
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue