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/group/typedefs/GroupCreateConfig.js
+4-3Lines changed: 4 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -13,14 +13,15 @@
13
13
* @property {?Function} [classType] - The class of each new Game Object.
14
14
* @property {(string|string[])} [key] - The texture key of each new Game Object.
15
15
* @property {?(string|string[]|integer|integer[])} [frame=null] - The texture frame of each new Game Object.
16
+
* @property {?integer} [quantity=false] - The number of Game Objects to create. If set, this overrides the `frameQuantity` value. Use `frameQuantity` for more advanced control.
16
17
* @property {?boolean} [visible=true] - The visible state of each new Game Object.
17
18
* @property {?boolean} [active=true] - The active state of each new Game Object.
18
-
* @property {?number} [repeat=0] - The number of times each `key` × `frame` combination will be *repeated* (after the first combination).
19
+
* @property {?integer} [repeat=0] - The number of times each `key` × `frame` combination will be *repeated* (after the first combination).
19
20
* @property {?boolean} [randomKey=false] - Select a `key` at random.
20
21
* @property {?boolean} [randomFrame=false] - Select a `frame` at random.
21
22
* @property {?boolean} [yoyo=false] - Select keys and frames by moving forward then backward through `key` and `frame`.
22
-
* @property {?number} [frameQuantity=1] - The number of times each `frame` should be combined with one `key`.
23
-
* @property {?number} [max=0] - The maximum number of new Game Objects to create. 0 is no maximum.
23
+
* @property {?integer} [frameQuantity=1] - The number of times each `frame` should be combined with one `key`.
24
+
* @property {?integer} [max=0] - The maximum number of new Game Objects to create. 0 is no maximum.
24
25
* @property {?object} [setXY]
25
26
* @property {?number} [setXY.x=0] - The horizontal position of each new Game Object.
26
27
* @property {?number} [setXY.y=0] - The vertical position of each new Game Object.
0 commit comments