mirror of
https://github.com/photonstorm/phaser
synced 2024-11-21 12:13:19 +00:00
Merge pull request #6937 from hatchling13/fix-matter-collision-events-type
fix type definitions for Matter CollisionActiveEvent | CollisionStartEvent | CollisionEnd
This commit is contained in:
commit
72158813e2
3 changed files with 3 additions and 3 deletions
|
@ -7,7 +7,7 @@
|
|||
/**
|
||||
* @typedef {object} Phaser.Physics.Matter.Events.CollisionActiveEvent
|
||||
*
|
||||
* @property {Phaser.Types.Physics.Matter.MatterCollisionData[]} pairs - A list of all affected pairs in the collision.
|
||||
* @property {Phaser.Types.Physics.Matter.MatterCollisionPair[]} pairs - A list of all affected pairs in the collision.
|
||||
* @property {number} timestamp - The Matter Engine `timing.timestamp` value for the event.
|
||||
* @property {any} source - The source object of the event.
|
||||
* @property {string} name - The name of the event.
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
/**
|
||||
* @typedef {object} Phaser.Physics.Matter.Events.CollisionEndEvent
|
||||
*
|
||||
* @property {Phaser.Types.Physics.Matter.MatterCollisionData[]} pairs - A list of all affected pairs in the collision.
|
||||
* @property {Phaser.Types.Physics.Matter.MatterCollisionPair[]} pairs - A list of all affected pairs in the collision.
|
||||
* @property {number} timestamp - The Matter Engine `timing.timestamp` value for the event.
|
||||
* @property {any} source - The source object of the event.
|
||||
* @property {string} name - The name of the event.
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
/**
|
||||
* @typedef {object} Phaser.Physics.Matter.Events.CollisionStartEvent
|
||||
*
|
||||
* @property {Phaser.Types.Physics.Matter.MatterCollisionData[]} pairs - A list of all affected pairs in the collision.
|
||||
* @property {Phaser.Types.Physics.Matter.MatterCollisionPair[]} pairs - A list of all affected pairs in the collision.
|
||||
* @property {number} timestamp - The Matter Engine `timing.timestamp` value for the event.
|
||||
* @property {any} source - The source object of the event.
|
||||
* @property {string} name - The name of the event.
|
||||
|
|
Loading…
Reference in a new issue