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 {Phaser.GameObjects.Blitter.BlitterFromCallback} callback - The callback to invoke after creating a bob. It will be sent two arguments: The Bob and the index of the Bob.
170
+
* @param {Phaser.GameObjects.Blitter.CreateCallback} callback - The callback to invoke after creating a bob. It will be sent two arguments: The Bob and the index of the Bob.
157
171
* @param {integer} quantity - The quantity of Bob objects to create.
158
172
* @param {(string|integer|Phaser.Textures.Frame|string[]|integer[]|Phaser.Textures.Frame[])} [frame] - The Frame the Bobs will use. It must be part of the Blitter Texture.
159
-
* @param {boolean} [visible=true] - [description]
173
+
* @param {boolean} [visible=true] - Should the created Bob render or not?
160
174
*
161
175
* @return {Phaser.GameObjects.Blitter.Bob[]} An array of Bob objects that were created.
162
176
*/
@@ -175,14 +189,19 @@ var Blitter = new Class({
175
189
},
176
190
177
191
/**
178
-
* [description]
192
+
* Creates multiple Bobs in one call.
193
+
*
194
+
* The amount created is controlled by a combination of the `quantity` argument and the number of frames provided.
195
+
*
196
+
* If the quantity is set to 10 and you provide 2 frames, then 20 Bobs will be created. 10 with the first
* @param {integer} quantity - The quantity of Bob objects to create.
184
203
* @param {(string|integer|Phaser.Textures.Frame|string[]|integer[]|Phaser.Textures.Frame[])} [frame] - The Frame the Bobs will use. It must be part of the Blitter Texture.
185
-
* @param {boolean} [visible=true] - [description]
204
+
* @param {boolean} [visible=true] - Should the created Bob render or not?
186
205
*
187
206
* @return {Phaser.GameObjects.Blitter.Bob[]} An array of Bob objects that were created.
188
207
*/
@@ -211,22 +230,23 @@ var Blitter = new Class({
211
230
},
212
231
213
232
/**
214
-
* [description]
233
+
* Checks if the given child can render or not, by checking its `visible` and `alpha` values.
0 commit comments