mirror of
https://github.com/photonstorm/phaser
synced 2024-11-21 20:23:19 +00:00
Added correct parameters for create
This commit is contained in:
parent
47d393ac29
commit
6a28ccbee1
1 changed files with 3 additions and 3 deletions
|
@ -1152,9 +1152,9 @@ var TextureManager = new Class({
|
|||
* @since 3.0.0
|
||||
*
|
||||
* @param {string} key - The unique string-based key of the Texture.
|
||||
* @param {HTMLImageElement} source - The source Image element.
|
||||
* @param {number} width - The width of the Texture.
|
||||
* @param {number} height - The height of the Texture.
|
||||
* @param {(HTMLImageElement|HTMLImageElement[])} source - The source Image element.
|
||||
* @param {number} [width] - The width 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.
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue