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
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -2051,10 +2051,10 @@ var World = new Class({
2051
2051
* @since 3.0.0
2052
2052
*
2053
2053
* @param {Phaser.GameObjects.Group} group - The first object to check for collision.
2054
-
* @param {(Phaser.Tilemaps.DynamicTilemapLayer|Phaser.Tilemaps.StaticTilemapLayer)} tilemapLayer - The second object to check for collision.
2055
-
* @param {ArcadePhysicsCallback} [collideCallback] - An optional callback function that is called if the objects collide.
2056
-
* @param {ArcadePhysicsCallback} [processCallback] - An optional callback function that lets you perform additional checks against the two objects if they collide. If this is set then `collideCallback` will only be called if this callback returns `true`.
2057
-
* @param {any} [callbackContext] - The context in which to run the callbacks.
2054
+
* @param {Phaser.Tilemaps.TilemapLayer} tilemapLayer - The second object to check for collision.
2055
+
* @param {ArcadePhysicsCallback} collideCallback - An optional callback function that is called if the objects collide.
2056
+
* @param {ArcadePhysicsCallback} processCallback - An optional callback function that lets you perform additional checks against the two objects if they collide. If this is set then `collideCallback` will only be called if this callback returns `true`.
2057
+
* @param {any} callbackContext - The context in which to run the callbacks.
2058
2058
* @param {boolean} overlapOnly - Whether this is a collision or overlap check.
2059
2059
*
2060
2060
* @return {boolean} True if any objects overlap (with `overlapOnly`); or true if any overlapping objects were separated.
@@ -2169,7 +2169,7 @@ var World = new Class({
2169
2169
* @since 3.0.0
2170
2170
*
2171
2171
* @param {Phaser.GameObjects.GameObject} sprite - The first object to check for collision.
2172
-
* @param {(Phaser.Tilemaps.DynamicTilemapLayer|Phaser.Tilemaps.StaticTilemapLayer)} tilemapLayer - The second object to check for collision.
2172
+
* @param {Phaser.Tilemaps.TilemapLayer} tilemapLayer - The second object to check for collision.
2173
2173
* @param {ArcadePhysicsCallback} [collideCallback] - An optional callback function that is called if the objects collide.
2174
2174
* @param {ArcadePhysicsCallback} [processCallback] - An optional callback function that lets you perform additional checks against the two objects if they collide. If this is set then `collideCallback` will only be called if this callback returns `true`.
2175
2175
* @param {any} [callbackContext] - The context in which to run the callbacks.
@@ -2231,7 +2231,7 @@ var World = new Class({
2231
2231
* @since 3.17.0
2232
2232
*
2233
2233
* @param {Phaser.GameObjects.GameObject} sprite - The first object to check for collision.
2234
-
* @param {(Phaser.Tilemaps.DynamicTilemapLayer|Phaser.Tilemaps.StaticTilemapLayer)} tilemapLayer - The second object to check for collision.
2234
+
* @param {Phaser.Tilemaps.TilemapLayer} tilemapLayer - The second object to check for collision.
2235
2235
* @param {ArcadePhysicsCallback} [collideCallback] - An optional callback function that is called if the objects collide.
2236
2236
* @param {ArcadePhysicsCallback} [processCallback] - An optional callback function that lets you perform additional checks against the two objects if they collide. If this is set then `collideCallback` will only be called if this callback returns `true`.
2237
2237
* @param {any} [callbackContext] - The context in which to run the callbacks.
Copy file name to clipboardExpand all lines: src/physics/matter-js/Factory.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -899,7 +899,7 @@ var Factory = new Class({
899
899
* @param {(Phaser.Types.Physics.Matter.MatterBodyConfig|MatterJS.Body)} [options] - A Matter Body configuration object, or an instance of a Matter Body.
900
900
* @param {boolean} [addToWorld=true] - Add this Matter Body to the World?
901
901
*
902
-
* @return {Phaser.Physics.Matter.MatterGameObject} The Game Object that had the Matter Components injected into it.
902
+
* @return {(Phaser.Physics.Matter.Image|Phaser.Physics.Matter.Sprite|Phaser.GameObjects.GameObject)} The Game Object that had the Matter Components injected into it.
0 commit comments