Skip to content

Commit 2182511

Browse files
committed
Image swap
1 parent c6fc61e commit 2182511

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

src/textures/TextureManager.js

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -186,8 +186,8 @@ var TextureManager = new Class({
186186
* @since 3.0.0
187187
*
188188
* @param {string} key - The unique string-based key of the Texture.
189-
* @param {Image} source - The source Image element.
190-
* @param {Image} [dataSource] - An optional data Image element.
189+
* @param {HTMLImageElement} source - The source Image element.
190+
* @param {HTMLImageElement} [dataSource] - An optional data Image element.
191191
*
192192
* @return {Phaser.Textures.Texture} The Texture that was created.
193193
*/
@@ -283,7 +283,7 @@ var TextureManager = new Class({
283283
* @since 3.0.0
284284
*
285285
* @param {string} key - The unique string-based key of the Texture.
286-
* @param {Image} source - The source Image element.
286+
* @param {HTMLImageElement} source - The source Image element.
287287
* @param {object} data - The Texture Atlas data.
288288
*
289289
* @return {Phaser.Textures.Texture} The Texture that was created.
@@ -310,7 +310,7 @@ var TextureManager = new Class({
310310
* @since 3.0.0
311311
*
312312
* @param {string} key - The unique string-based key of the Texture.
313-
* @param {Image} source - The source Image element.
313+
* @param {HTMLImageElement} source - The source Image element.
314314
* @param {object} data - The Texture Atlas data.
315315
*
316316
* @return {Phaser.Textures.Texture} The Texture that was created.
@@ -345,7 +345,7 @@ var TextureManager = new Class({
345345
* @since 3.0.0
346346
*
347347
* @param {string} key - The unique string-based key of the Texture.
348-
* @param {Image} source - The source Image element.
348+
* @param {HTMLImageElement} source - The source Image element.
349349
* @param {object} data - The Texture Atlas data.
350350
*
351351
* @return {Phaser.Textures.Texture} The Texture that was created.
@@ -377,7 +377,7 @@ var TextureManager = new Class({
377377
* @since 3.0.0
378378
*
379379
* @param {string} key - The unique string-based key of the Texture.
380-
* @param {Image} source - The source Image element.
380+
* @param {HTMLImageElement} source - The source Image element.
381381
* @param {object} data - The Texture Atlas data.
382382
*
383383
* @return {Phaser.Textures.Texture} The Texture that was created.
@@ -401,7 +401,7 @@ var TextureManager = new Class({
401401
* @since 3.0.0
402402
*
403403
* @param {string} key - The unique string-based key of the Texture.
404-
* @param {Image} source - The source Image element.
404+
* @param {HTMLImageElement} source - The source Image element.
405405
* @param {object} config - The configuration object for this Sprite Sheet.
406406
* @param {integer} config.frameWidth - The fixed width of each frame.
407407
* @param {integer} [config.frameHeight] - The fixed height of each frame. If not set it will use the frameWidth as the height.
@@ -485,7 +485,7 @@ var TextureManager = new Class({
485485
* @since 3.0.0
486486
*
487487
* @param {string} key - The unique string-based key of the Texture.
488-
* @param {Image} source - The source Image element.
488+
* @param {HTMLImageElement} source - The source Image element.
489489
* @param {object} data - The Texture Atlas XML data.
490490
*
491491
* @return {Phaser.Textures.Texture} The Texture that was created.
@@ -517,7 +517,7 @@ var TextureManager = new Class({
517517
* @since 3.0.0
518518
*
519519
* @param {string} key - The unique string-based key of the Texture.
520-
* @param {Image} source - The source Image element.
520+
* @param {HTMLImageElement} source - The source Image element.
521521
* @param {object} data - The Texture Atlas XML data.
522522
*
523523
* @return {Phaser.Textures.Texture} The Texture that was created.
@@ -548,7 +548,7 @@ var TextureManager = new Class({
548548
* @since 3.0.0
549549
*
550550
* @param {string} key - The unique string-based key of the Texture.
551-
* @param {Image} source - The source Image element.
551+
* @param {HTMLImageElement} source - The source Image element.
552552
* @param {integer} width - The width of the Texture.
553553
* @param {integer} height - The height of the Texture.
554554
*

0 commit comments

Comments
 (0)