0
0
Fork 0
mirror of https://github.com/liabru/matter-js.git synced 2024-11-27 09:50:52 -05:00

Update JSDoc

This might need fixing later, I don't know if I did it right.
This commit is contained in:
PlNG 2015-01-20 11:49:17 -05:00
parent 25ab2a39b0
commit d17eb6c9b4

View file

@ -12,6 +12,7 @@ var Pair = {};
* Description
* @method create
* @param {collision} collision
* @param {timestamp} timestamp
* @return {pair} A new pair
*/
Pair.create = function(collision, timestamp) {
@ -44,6 +45,7 @@ var Pair = {};
* @method update
* @param {pair} pair
* @param {collision} collision
* @param {timestamp} timestamp
*/
Pair.update = function(pair, collision, timestamp) {
var contacts = pair.contacts,
@ -83,6 +85,7 @@ var Pair = {};
* @method setActive
* @param {pair} pair
* @param {bool} isActive
* @param {timestamp} timestamp
*/
Pair.setActive = function(pair, isActive, timestamp) {
if (isActive) {