Skip to content

Commit b9e774c

Browse files
authored
Merge pull request phaserjs#3632 from snowbillr/fix-arcade-physics-factory-collider-params
Fix arcade physics factory collider params
2 parents abe18a3 + a50b302 commit b9e774c

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

src/physics/arcade/Factory.js

Lines changed: 6 additions & 6 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
*/
@@ -84,9 +84,9 @@ var Factory = new Class({
8484
*
8585
* @param {Phaser.Physics.Arcade.Body} object1 - The first object to check for overlap.
8686
* @param {Phaser.Physics.Arcade.Body} object2 - The second object to check for overlap.
87-
* @param {ArcadePhysicsCallback} collideCallback - The callback to invoke when the two objects collide.
88-
* @param {ArcadePhysicsCallback} processCallback - The callback to invoke when the two objects collide. Must return a boolean.
89-
* @param {*} callbackContext - The scope in which to call the callbacks.
87+
* @param {ArcadePhysicsCallback} [collideCallback] - The callback to invoke when the two objects collide.
88+
* @param {ArcadePhysicsCallback} [processCallback] - The callback to invoke when the two objects collide. Must return a boolean.
89+
* @param {*} [callbackContext] - The scope in which to call the callbacks.
9090
*
9191
* @return {Phaser.Physics.Arcade.Collider} The Collider that was created.
9292
*/

0 commit comments

Comments
 (0)