mirror of
https://github.com/photonstorm/phaser
synced 2024-11-10 23:24:41 +00:00
Added jsdocs
This commit is contained in:
parent
e270d3afd8
commit
58c8efc2e5
1 changed files with 5 additions and 5 deletions
|
@ -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 ()
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue