You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/physics/arcade/World.js
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1750,8 +1750,8 @@ var World = new Class({
1750
1750
*
1751
1751
* @param {ArcadeColliderType} object1 - The first object or array of objects to check.
1752
1752
* @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`.
1755
1755
* @param {*} [callbackContext] - The context in which to run the callbacks.
1756
1756
*
1757
1757
* @return {boolean} True if at least one Game Object overlaps another.
0 commit comments