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/Image.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@
12
12
*
13
13
* @constructor
14
14
* @param {Phaser.Game} game - A reference to the currently running game.
15
-
* @param {number} x - The x coordinate of the Imaget. The coordinate is relative to any parent container this Image may be in.
15
+
* @param {number} x - The x coordinate of the Image. The coordinate is relative to any parent container this Image may be in.
16
16
* @param {number} y - The y coordinate of the Image. The coordinate is relative to any parent container this Image may be in.
17
17
* @param {string|Phaser.RenderTexture|Phaser.BitmapData|PIXI.Texture} key - The texture used by the Image during rendering. It can be a string which is a reference to the Cache entry, or an instance of a RenderTexture, BitmapData or PIXI.Texture.
18
18
* @param {string|number} frame - If this Image is using part of a sprite sheet or texture atlas you can specify the exact frame to use by giving a string or numeric index.
0 commit comments