Added jsdocs

This commit is contained in:
Richard Davey 2020-01-01 17:33:45 +00:00
parent e270d3afd8
commit 58c8efc2e5

View file

@ -7,7 +7,7 @@
var Body = require('../lib/body/Body');
/**
* [description]
* Provides methods used for getting and setting the static state of a physics body.
*
* @namespace Phaser.Physics.Matter.Components.Static
* @since 3.0.0
@ -15,12 +15,12 @@ var Body = require('../lib/body/Body');
var Static = {
/**
* [description]
* Changes the physics body to be either static `true` or dynamic `false`.
*
* @method Phaser.Physics.Matter.Components.Static#setStatic
* @since 3.0.0
*
* @param {boolean} value - [description]
* @param {boolean} value - `true` to set the body as being static, or `false` to make it dynamic.
*
* @return {Phaser.GameObjects.GameObject} This Game Object.
*/
@ -32,12 +32,12 @@ var Static = {
},
/**
* [description]
* Returns `true` if the body is static, otherwise `false` for a dynamic body.
*
* @method Phaser.Physics.Matter.Components.Static#isStatic
* @since 3.0.0
*
* @return {boolean} [description]
* @return {boolean} `true` if the body is static, otherwise `false`.
*/
isStatic: function ()
{