Skip to content

Commit 58c8efc

Browse files
committed
Added jsdocs
1 parent e270d3a commit 58c8efc

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

src/physics/matter-js/components/Static.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,20 @@
77
var Body = require('../lib/body/Body');
88

99
/**
10-
* [description]
10+
* Provides methods used for getting and setting the static state of a physics body.
1111
*
1212
* @namespace Phaser.Physics.Matter.Components.Static
1313
* @since 3.0.0
1414
*/
1515
var Static = {
1616

1717
/**
18-
* [description]
18+
* Changes the physics body to be either static `true` or dynamic `false`.
1919
*
2020
* @method Phaser.Physics.Matter.Components.Static#setStatic
2121
* @since 3.0.0
2222
*
23-
* @param {boolean} value - [description]
23+
* @param {boolean} value - `true` to set the body as being static, or `false` to make it dynamic.
2424
*
2525
* @return {Phaser.GameObjects.GameObject} This Game Object.
2626
*/
@@ -32,12 +32,12 @@ var Static = {
3232
},
3333

3434
/**
35-
* [description]
35+
* Returns `true` if the body is static, otherwise `false` for a dynamic body.
3636
*
3737
* @method Phaser.Physics.Matter.Components.Static#isStatic
3838
* @since 3.0.0
3939
*
40-
* @return {boolean} [description]
40+
* @return {boolean} `true` if the body is static, otherwise `false`.
4141
*/
4242
isStatic: function ()
4343
{

0 commit comments

Comments
 (0)