Skip to content

Commit b483fc4

Browse files
committed
update arcade collider factory method optional params to match arcade world collider optional params
1 parent 8d6eb2f commit b483fc4

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/physics/arcade/Factory.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,9 @@ var Factory = new Class({
6565
*
6666
* @param {Phaser.Physics.Arcade.Body} object1 - The first object to check for collision.
6767
* @param {Phaser.Physics.Arcade.Body} object2 - The second object to check for collision.
68-
* @param {ArcadePhysicsCallback} collideCallback - The callback to invoke when the two objects collide.
69-
* @param {ArcadePhysicsCallback} processCallback - The callback to invoke when the two objects collide. Must return a boolean.
70-
* @param {*} callbackContext - The scope in which to call the callbacks.
68+
* @param {ArcadePhysicsCallback} [collideCallback] - The callback to invoke when the two objects collide.
69+
* @param {ArcadePhysicsCallback} [processCallback] - The callback to invoke when the two objects collide. Must return a boolean.
70+
* @param {*} [callbackContext] - The scope in which to call the callbacks.
7171
*
7272
* @return {Phaser.Physics.Arcade.Collider} The Collider that was created.
7373
*/

0 commit comments

Comments
 (0)