Skip to content

Commit a996bbf

Browse files
authored
update collider and overlap param types
1 parent 3fc0712 commit a996bbf

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/physics/arcade/Factory.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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.

0 commit comments

Comments
 (0)