Skip to content

Commit e3af569

Browse files
authored
update overlap and collide params
1 parent 7251824 commit e3af569

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

src/physics/arcade/World.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -621,8 +621,8 @@ var World = new Class({
621621
* @method Phaser.Physics.Arcade.World#addCollider
622622
* @since 3.0.0
623623
*
624-
* @param {Phaser.GameObjects.GameObject} object1 - The first object to check for collision.
625-
* @param {Phaser.GameObjects.GameObject} object2 - The second object to check for collision.
624+
* @param {(Phaser.GameObjects.GameObject|Phaser.GameObjects.GameObject[])} object1 - The first object to check for collision.
625+
* @param {(Phaser.GameObjects.GameObject|Phaser.GameObjects.GameObject[])} object2 - The second object to check for collision.
626626
* @param {ArcadePhysicsCallback} [collideCallback] - The callback to invoke when the two objects collide.
627627
* @param {ArcadePhysicsCallback} [processCallback] - The callback to invoke when the two objects collide. Must return a boolean.
628628
* @param {*} [callbackContext] - The scope in which to call the callbacks.
@@ -648,8 +648,8 @@ var World = new Class({
648648
* @method Phaser.Physics.Arcade.World#addOverlap
649649
* @since 3.0.0
650650
*
651-
* @param {Phaser.Physics.Arcade.Body} object1 - The first object to check for overlap.
652-
* @param {Phaser.Physics.Arcade.Body} object2 - The second object to check for overlap.
651+
* @param {(Phaser.GameObjects.GameObject|Phaser.GameObjects.GameObject[])} object1 - The first object to check for overlap.
652+
* @param {(Phaser.GameObjects.GameObject|Phaser.GameObjects.GameObject[])} object2 - The second object to check for overlap.
653653
* @param {ArcadePhysicsCallback} [collideCallback] - The callback to invoke when the two objects overlap.
654654
* @param {ArcadePhysicsCallback} [processCallback] - The callback to invoke when the two objects overlap. Must return a boolean.
655655
* @param {*} [callbackContext] - The scope in which to call the callbacks.
@@ -1351,8 +1351,8 @@ var World = new Class({
13511351
* @method Phaser.Physics.Arcade.World#collideObjects
13521352
* @since 3.0.0
13531353
*
1354-
* @param {Phaser.GameObjects.GameObject} object1 - [description]
1355-
* @param {Phaser.GameObjects.GameObject} object2 - [description]
1354+
* @param {(Phaser.GameObjects.GameObject|Phaser.GameObjects.GameObject[])} object1 - [description]
1355+
* @param {(Phaser.GameObjects.GameObject|Phaser.GameObjects.GameObject[])} object2 - [description]
13561356
* @param {ArcadePhysicsCallback} collideCallback - [description]
13571357
* @param {ArcadePhysicsCallback} processCallback - [description]
13581358
* @param {*} callbackContext - [description]

0 commit comments

Comments
 (0)