Skip to content

Commit 0d831cc

Browse files
committed
Texture Types
1 parent dc18d06 commit 0d831cc

6 files changed

Lines changed: 7 additions & 7 deletions

File tree

src/textures/CanvasTexture.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,7 @@ var CanvasTexture = new Class({
422422
* @param {integer} width - The width of the region to get. Must be an integer.
423423
* @param {integer} [height] - The height of the region to get. Must be an integer. If not given will be set to the `width`.
424424
*
425-
* @return {Phaser.Textures.Types.PixelConfig[]} An array of Pixel objects.
425+
* @return {Phaser.Types.Textures.PixelConfig[]} An array of Pixel objects.
426426
*/
427427
getPixels: function (x, y, width, height)
428428
{

src/textures/TextureManager.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -707,7 +707,7 @@ var TextureManager = new Class({
707707
*
708708
* @param {string} key - The unique string-based key of the Texture.
709709
* @param {HTMLImageElement} source - The source Image element.
710-
* @param {Phaser.Textures.Types.SpriteSheetConfig} config - The configuration object for this Sprite Sheet.
710+
* @param {Phaser.Types.Textures.SpriteSheetConfig} config - The configuration object for this Sprite Sheet.
711711
*
712712
* @return {?Phaser.Textures.Texture} The Texture that was created, or `null` if the key is already in use.
713713
*/
@@ -741,7 +741,7 @@ var TextureManager = new Class({
741741
* @since 3.0.0
742742
*
743743
* @param {string} key - The unique string-based key of the Texture.
744-
* @param {Phaser.Textures.Types.SpriteSheetFromAtlasConfig} config - The configuration object for this Sprite Sheet.
744+
* @param {Phaser.Types.Textures.SpriteSheetFromAtlasConfig} config - The configuration object for this Sprite Sheet.
745745
*
746746
* @return {?Phaser.Textures.Texture} The Texture that was created, or `null` if the key is already in use.
747747
*/

src/textures/typedefs/PixelConfig.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* An object containing the position and color data for a single pixel in a CanvasTexture.
33
*
4-
* @typedef {object} Phaser.Textures.Types.PixelConfig
4+
* @typedef {object} Phaser.Types.Textures.PixelConfig
55
* @since 3.16.0
66
*
77
* @property {integer} x - The x-coordinate of the pixel.

src/textures/typedefs/SpriteSheetConfig.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* @typedef {object} Phaser.Textures.Types.SpriteSheetConfig
2+
* @typedef {object} Phaser.Types.Textures.SpriteSheetConfig
33
* @since 3.0.0
44
*
55
* @property {integer} frameWidth - The fixed width of each frame.

src/textures/typedefs/SpriteSheetFromAtlasConfig.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* @typedef {object} Phaser.Textures.Types.SpriteSheetFromAtlasConfig
2+
* @typedef {object} Phaser.Types.Textures.SpriteSheetFromAtlasConfig
33
* @since 3.0.0
44
*
55
* @property {string} atlas - The key of the Texture Atlas in which this Sprite Sheet can be found.

src/textures/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.Textures.Types
8+
* @namespace Phaser.Types.Textures
99
*/

0 commit comments

Comments
 (0)