mirror of
https://github.com/photonstorm/phaser
synced 2024-11-22 20:53:39 +00:00
Added jsdocs
This commit is contained in:
parent
eab83de344
commit
ba4c82e140
1 changed files with 4 additions and 3 deletions
|
@ -7,7 +7,7 @@
|
|||
var Body = require('../lib/body/Body');
|
||||
|
||||
/**
|
||||
* [description]
|
||||
* Contains methods for changing the velocity of a Matter Body. Should be used as a mixin and not called directly.
|
||||
*
|
||||
* @namespace Phaser.Physics.Matter.Components.Velocity
|
||||
* @since 3.0.0
|
||||
|
@ -15,12 +15,13 @@ var Body = require('../lib/body/Body');
|
|||
var Velocity = {
|
||||
|
||||
/**
|
||||
* [description]
|
||||
* Sets the angular velocity of the body instantly.
|
||||
* Position, angle, force etc. are unchanged.
|
||||
*
|
||||
* @method Phaser.Physics.Matter.Components.Velocity#setAngularVelocity
|
||||
* @since 3.0.0
|
||||
*
|
||||
* @param {number} value - [description]
|
||||
* @param {number} value - The angular velocity.
|
||||
*
|
||||
* @return {Phaser.GameObjects.GameObject} This Game Object.
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue