mirror of
https://github.com/photonstorm/phaser
synced 2024-11-10 07:04:31 +00:00
Update ArcadePhysicsCallback.js
This commit is contained in:
parent
e321be2130
commit
b99ac68c34
1 changed files with 7 additions and 3 deletions
|
@ -7,6 +7,10 @@
|
|||
*
|
||||
* 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.
|
||||
* @param {(Phaser.Types.Physics.Arcade.GameObjectWithBody|Phaser.Tilemaps.Tile)} object2 - The second Game Object.
|
||||
*/
|
||||
* Note you can receive back only a body if you passed in a body directly.
|
||||
*
|
||||
* 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.
|
||||
*/
|
Loading…
Reference in a new issue