same for overlap

This commit is contained in:
Bill Reed 2018-04-29 11:35:19 -04:00
parent b483fc4e1a
commit a50b302216

View file

@ -84,9 +84,9 @@ var Factory = new Class({
* *
* @param {Phaser.Physics.Arcade.Body} object1 - The first object to check for overlap. * @param {Phaser.Physics.Arcade.Body} object1 - The first object to check for overlap.
* @param {Phaser.Physics.Arcade.Body} object2 - The second object to check for overlap. * @param {Phaser.Physics.Arcade.Body} object2 - The second object to check for overlap.
* @param {ArcadePhysicsCallback} collideCallback - The callback to invoke when the two objects collide. * @param {ArcadePhysicsCallback} [collideCallback] - The callback to invoke when the two objects collide.
* @param {ArcadePhysicsCallback} processCallback - The callback to invoke when the two objects collide. Must return a boolean. * @param {ArcadePhysicsCallback} [processCallback] - The callback to invoke when the two objects collide. Must return a boolean.
* @param {*} callbackContext - The scope in which to call the callbacks. * @param {*} [callbackContext] - The scope in which to call the callbacks.
* *
* @return {Phaser.Physics.Arcade.Collider} The Collider that was created. * @return {Phaser.Physics.Arcade.Collider} The Collider that was created.
*/ */