Skip to content

Commit 31175ae

Browse files
committed
Correct overlapCallback argument name
1 parent 2a51d6b commit 31175ae

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/physics/arcade/World.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1750,8 +1750,8 @@ var World = new Class({
17501750
*
17511751
* @param {ArcadeColliderType} object1 - The first object or array of objects to check.
17521752
* @param {ArcadeColliderType} [object2] - The second object or array of objects to check, or `undefined`.
1753-
* @param {ArcadePhysicsCallback} [collideCallback] - An optional callback function that is called if the objects collide.
1754-
* @param {ArcadePhysicsCallback} [processCallback] - An optional callback function that lets you perform additional checks against the two objects if they overlap. If this is set then `collideCallback` will only be called if this callback returns `true`.
1753+
* @param {ArcadePhysicsCallback} [overlapCallback] - An optional callback function that is called if the objects overlap.
1754+
* @param {ArcadePhysicsCallback} [processCallback] - An optional callback function that lets you perform additional checks against the two objects if they overlap. If this is set then `overlapCallback` will only be called if this callback returns `true`.
17551755
* @param {*} [callbackContext] - The context in which to run the callbacks.
17561756
*
17571757
* @return {boolean} True if at least one Game Object overlaps another.

0 commit comments

Comments
 (0)