File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -63,8 +63,8 @@ var Factory = new Class({
6363 * @method Phaser.Physics.Arcade.Factory#collider
6464 * @since 3.0.0
6565 *
66- * @param {Phaser.GameObjects.GameObject } object1 - The first object to check for collision.
67- * @param {Phaser.GameObjects.GameObject } object2 - The second object to check for collision.
66+ * @param {( Phaser.GameObjects.GameObject|Phaser.GameObjects.GameObject[]) } object1 - The first object to check for collision.
67+ * @param {( Phaser.GameObjects.GameObject|Phaser.GameObjects.GameObject[]) } object2 - The second object to check for collision.
6868 * @param {ArcadePhysicsCallback } [collideCallback] - The callback to invoke when the two objects collide.
6969 * @param {ArcadePhysicsCallback } [processCallback] - The callback to invoke when the two objects collide. Must return a boolean.
7070 * @param {* } [callbackContext] - The scope in which to call the callbacks.
@@ -82,8 +82,8 @@ var Factory = new Class({
8282 * @method Phaser.Physics.Arcade.Factory#overlap
8383 * @since 3.0.0
8484 *
85- * @param {Phaser.Physics.Arcade.Body } object1 - The first object to check for overlap.
86- * @param {Phaser.Physics.Arcade.Body } object2 - The second object to check for overlap.
85+ * @param {( Phaser.GameObjects.GameObject|Phaser.GameObjects.GameObject[]) } object1 - The first object to check for overlap.
86+ * @param {( Phaser.GameObjects.GameObject|Phaser.GameObjects.GameObject[]) } object2 - The second object to check for overlap.
8787 * @param {ArcadePhysicsCallback } [collideCallback] - The callback to invoke when the two objects collide.
8888 * @param {ArcadePhysicsCallback } [processCallback] - The callback to invoke when the two objects collide. Must return a boolean.
8989 * @param {* } [callbackContext] - The scope in which to call the callbacks.
You can’t perform that action at this time.
0 commit comments