You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/gameobjects/blitter/Blitter.js
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -56,7 +56,7 @@ var List = require('../../structs/List');
56
56
* @param {number} [x=0] - The x coordinate of this Game Object in world space.
57
57
* @param {number} [y=0] - The y coordinate of this Game Object in world space.
58
58
* @param {string} [texture='__DEFAULT'] - The key of the texture this Game Object will use for rendering. The Texture must already exist in the Texture Manager.
59
-
* @param {string|integer} [frame=0] - The Frame of the Texture that this Game Object will use. Only set if the Texture has multiple frames, such as a Texture Atlas or Sprite Sheet.
59
+
* @param {(string|integer)} [frame=0] - The Frame of the Texture that this Game Object will use. Only set if the Texture has multiple frames, such as a Texture Atlas or Sprite Sheet.
60
60
*/
61
61
varBlitter=newClass({
62
62
@@ -116,7 +116,7 @@ var Blitter = new Class({
116
116
*
117
117
* @param {number} x - The x position of the Bob. Bob coordinate are relative to the position of the Blitter object.
118
118
* @param {number} y - The y position of the Bob. Bob coordinate are relative to the position of the Blitter object.
119
-
* @param {string|integer|Phaser.Textures.Frame} [frame] - The Frame the Bob will use. It _must_ be part of the Texture the parent Blitter object is using.
119
+
* @param {(string|integer|Phaser.Textures.Frame)} [frame] - The Frame the Bob will use. It _must_ be part of the Texture the parent Blitter object is using.
120
120
* @param {boolean} [visible=true] - Should the created Bob render or not?
121
121
* @param {integer} [index] - The position in the Blitters Display List to add the new Bob at. Defaults to the top of the list.
0 commit comments