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/core/Group.js
+12-12Lines changed: 12 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -10,32 +10,32 @@
10
10
* @classdesc A Group is a container for display objects that allows for fast pooling, recycling and collision checks.
11
11
* @constructor
12
12
* @param {Phaser.Game} game - A reference to the currently running game.
13
-
* @param {*} parent - The parent Group or DisplayObjectContainer that will hold this group, if any.
13
+
* @param {*} parent - The parent Group or DisplayObjectContainer that will hold this group, if any. If not set, or set to null, it will use game.world.
14
14
* @param {string} [name=group] - A name for this Group. Not used internally but useful for debugging.
15
15
* @param {boolean} [useStage=false] - Should the DisplayObjectContainer this Group creates be added to the World (default, false) or direct to the Stage (true).
0 commit comments