Skip to content

Commit ff723f6

Browse files
committed
Sprite Types
1 parent 275a3af commit ff723f6

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/gameobjects/sprite/SpriteCreator.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ var Sprite = require('./Sprite');
1818
* @method Phaser.GameObjects.GameObjectCreator#sprite
1919
* @since 3.0.0
2020
*
21-
* @param {Phaser.GameObjects.Sprite.Types.SpriteConfig} config - The configuration object this Game Object will use to create itself.
21+
* @param {Phaser.Types.GameObjects.Sprite.SpriteConfig} config - The configuration object this Game Object will use to create itself.
2222
* @param {boolean} [addToScene] - Add this Game Object to the Scene after creating it? If set this argument overrides the `add` property in the config object.
2323
*
2424
* @return {Phaser.GameObjects.Sprite} The Game Object that was created.

src/gameobjects/sprite/typedefs/SpriteConfig.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* @typedef {object} Phaser.GameObjects.Sprite.Types.SpriteConfig
2+
* @typedef {object} Phaser.Types.GameObjects.Sprite.SpriteConfig
33
* @extends Phaser.GameObjects.Types.GameObjectConfig
44
* @since 3.0.0
55
*

src/gameobjects/sprite/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.Sprite.Types
8+
* @namespace Phaser.Types.GameObjects.Sprite
99
*/

0 commit comments

Comments
 (0)