From 58c8efc2e526d61b54077998bcbe6a7dc51595f2 Mon Sep 17 00:00:00 2001 From: Richard Davey Date: Wed, 1 Jan 2020 17:33:45 +0000 Subject: [PATCH] Added jsdocs --- src/physics/matter-js/components/Static.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/physics/matter-js/components/Static.js b/src/physics/matter-js/components/Static.js index e6f35534c..34450150e 100644 --- a/src/physics/matter-js/components/Static.js +++ b/src/physics/matter-js/components/Static.js @@ -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 () {