Skip to content

Commit d7860e6

Browse files
committed
Merge branch 'master' of https://github.com/photonstorm/phaser
2 parents a18c838 + 8e9e817 commit d7860e6

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/textures/TextureManager.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -915,7 +915,7 @@ var TextureManager = new Class({
915915
* @param {integer} x - The x coordinate of the pixel within the Texture.
916916
* @param {integer} y - The y coordinate of the pixel within the Texture.
917917
* @param {string} key - The unique string-based key of the Texture.
918-
* @param {(string|integer)} frame - The string or index of the Frame.
918+
* @param {(string|integer)} [frame] - The string or index of the Frame.
919919
*
920920
* @return {?Phaser.Display.Color} A Color object populated with the color values of the requested pixel,
921921
* or `null` if the coordinates were out of bounds.
@@ -962,7 +962,7 @@ var TextureManager = new Class({
962962
* @param {integer} x - The x coordinate of the pixel within the Texture.
963963
* @param {integer} y - The y coordinate of the pixel within the Texture.
964964
* @param {string} key - The unique string-based key of the Texture.
965-
* @param {(string|integer)} frame - The string or index of the Frame.
965+
* @param {(string|integer)} [frame] - The string or index of the Frame.
966966
*
967967
* @return {integer} A value between 0 and 255, or `null` if the coordinates were out of bounds.
968968
*/
@@ -1006,7 +1006,7 @@ var TextureManager = new Class({
10061006
*
10071007
* @param {Phaser.GameObjects.GameObject} gameObject - The Game Object the texture would be set on.
10081008
* @param {string} key - The unique string-based key of the Texture.
1009-
* @param {(string|integer)} frame - The string or index of the Frame.
1009+
* @param {(string|integer)} [frame] - The string or index of the Frame.
10101010
*
10111011
* @return {Phaser.GameObjects.GameObject} The Game Object the texture was set on.
10121012
*/

0 commit comments

Comments
 (0)