mirror of
https://github.com/liabru/matter-js.git
synced 2024-11-23 09:26:51 -05:00
Update JSDoc
This might need fixing later, I don't know if I did it right.
This commit is contained in:
parent
25ab2a39b0
commit
d17eb6c9b4
1 changed files with 3 additions and 0 deletions
|
@ -12,6 +12,7 @@ var Pair = {};
|
||||||
* Description
|
* Description
|
||||||
* @method create
|
* @method create
|
||||||
* @param {collision} collision
|
* @param {collision} collision
|
||||||
|
* @param {timestamp} timestamp
|
||||||
* @return {pair} A new pair
|
* @return {pair} A new pair
|
||||||
*/
|
*/
|
||||||
Pair.create = function(collision, timestamp) {
|
Pair.create = function(collision, timestamp) {
|
||||||
|
@ -44,6 +45,7 @@ var Pair = {};
|
||||||
* @method update
|
* @method update
|
||||||
* @param {pair} pair
|
* @param {pair} pair
|
||||||
* @param {collision} collision
|
* @param {collision} collision
|
||||||
|
* @param {timestamp} timestamp
|
||||||
*/
|
*/
|
||||||
Pair.update = function(pair, collision, timestamp) {
|
Pair.update = function(pair, collision, timestamp) {
|
||||||
var contacts = pair.contacts,
|
var contacts = pair.contacts,
|
||||||
|
@ -83,6 +85,7 @@ var Pair = {};
|
||||||
* @method setActive
|
* @method setActive
|
||||||
* @param {pair} pair
|
* @param {pair} pair
|
||||||
* @param {bool} isActive
|
* @param {bool} isActive
|
||||||
|
* @param {timestamp} timestamp
|
||||||
*/
|
*/
|
||||||
Pair.setActive = function(pair, isActive, timestamp) {
|
Pair.setActive = function(pair, isActive, timestamp) {
|
||||||
if (isActive) {
|
if (isActive) {
|
||||||
|
|
Loading…
Reference in a new issue