Skip to content

Commit 3fc0712

Browse files
authored
update collider param types
1 parent e3af569 commit 3fc0712

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/physics/arcade/Collider.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ var Class = require('../../utils/Class');
1717
*
1818
* @param {Phaser.Physics.Arcade.World} world - [description]
1919
* @param {boolean} overlapOnly - [description]
20-
* @param {Phaser.GameObjects.GameObject} object1 - The first object to check for collision.
21-
* @param {Phaser.GameObjects.GameObject} object2 - The second object to check for collision.
20+
* @param {(Phaser.GameObjects.GameObject|Phaser.GameObjects.GameObject[])} object1 - The first object to check for collision.
21+
* @param {(Phaser.GameObjects.GameObject|Phaser.GameObjects.GameObject[])} object2 - The second object to check for collision.
2222
* @param {ArcadePhysicsCallback} collideCallback - The callback to invoke when the two objects collide.
2323
* @param {ArcadePhysicsCallback} processCallback - The callback to invoke when the two objects collide. Must return a boolean.
2424
* @param {object} callbackContext - The scope in which to call the callbacks.

0 commit comments

Comments
 (0)