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: Phaser/core/Group.ts
+11-5Lines changed: 11 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -151,7 +151,7 @@ module Phaser {
151
151
152
152
/**
153
153
* Override this function to handle any deleting or "shutdown" type operations you might need,
154
-
* such as removing traditional Flash children like Basic objects.
154
+
* such as removing traditional children like Basic objects.
155
155
*/
156
156
publicdestroy(){
157
157
@@ -417,10 +417,10 @@ module Phaser {
417
417
* @param y {number} Y position of the new sprite.
418
418
* @param [key] {string} The image key as defined in the Game.Cache to use as the texture for this sprite
419
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.
420
-
* @param [bodyType] {number} The physics body type of the object (defaults to BODY_DYNAMIC)
420
+
* @param [bodyType] {number} The physics body type of the object (defaults to BODY_DISABLED)
421
421
* @returns {Sprite} The newly created sprite object.
0 commit comments