Update ArcadePhysicsCallback.js

This commit is contained in:
ospira 2024-08-13 12:29:10 -04:00
parent e321be2130
commit b99ac68c34

View file

@ -7,6 +7,10 @@
* *
* For all other cases, `object1` and `object2` match the same arguments in `collide()` or `overlap()`. * For all other cases, `object1` and `object2` match the same arguments in `collide()` or `overlap()`.
* *
* @param {(Phaser.Types.Physics.Arcade.GameObjectWithBody|Phaser.Tilemaps.Tile)} object1 - The first Game Object. * Note you can receive back only a body if you passed in a body directly.
* @param {(Phaser.Types.Physics.Arcade.GameObjectWithBody|Phaser.Tilemaps.Tile)} object2 - The second Game Object. *
* You should only do this if the body intentionally has no associated game object (sprite, .etc).
*
* @param {(Phaser.Types.Physics.Arcade.GameObjectWithBody|Phaser.Types.Physics.Arcade.Body|Phaser.Tilemaps.Tile)} object1 - The first Game Object.
* @param {(Phaser.Types.Physics.Arcade.GameObjectWithBody|Phaser.Types.Physics.Arcade.Body|Phaser.Tilemaps.Tile)} object2 - The second Game Object.
*/ */