mirror of
https://github.com/photonstorm/phaser
synced 2024-11-22 12:43:26 +00:00
Merge pull request #6670 from stevenwithaph/master
Added correct parameters for create
This commit is contained in:
commit
08f340c438
1 changed files with 3 additions and 3 deletions
|
@ -1152,9 +1152,9 @@ var TextureManager = new Class({
|
||||||
* @since 3.0.0
|
* @since 3.0.0
|
||||||
*
|
*
|
||||||
* @param {string} key - The unique string-based key of the Texture.
|
* @param {string} key - The unique string-based key of the Texture.
|
||||||
* @param {HTMLImageElement} source - The source Image element.
|
* @param {(HTMLImageElement|HTMLImageElement[])} source - The source Image element.
|
||||||
* @param {number} width - The width of the Texture.
|
* @param {number} [width] - The width of the Texture.
|
||||||
* @param {number} height - The height of the Texture.
|
* @param {number} [height] - The height of the Texture.
|
||||||
*
|
*
|
||||||
* @return {?Phaser.Textures.Texture} The Texture that was created, or `null` if the key is already in use.
|
* @return {?Phaser.Textures.Texture} The Texture that was created, or `null` if the key is already in use.
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in a new issue