File tree Expand file tree Collapse file tree
src/physics/matter-js/components Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77var 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 */
1515var 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 {
You can’t perform that action at this time.
0 commit comments