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
* @param [key] {string} The image key as defined in the Game.Cache to use as the texture for this sprite
400
419
* @param [frame] {string|number} If the sprite uses an image from a texture atlas or sprite sheet you can pass the frame here. Either a number for a frame ID or a string for a frame name.
401
-
* @param [bodyType] {number} The physics body type of the object (defaults to BODY_DISABLED)
420
+
* @param [bodyType] {number} The physics body type of the object (defaults to BODY_DYNAMIC)
402
421
* @returns {Sprite} The newly created sprite object.
0 commit comments