mirror of
https://github.com/photonstorm/phaser
synced 2024-11-10 23:24:41 +00:00
Added JSDocs
This commit is contained in:
parent
868d599832
commit
279829b414
1 changed files with 6 additions and 6 deletions
|
@ -389,13 +389,13 @@ var Factory = new Class({
|
|||
* @method Phaser.Physics.Matter.Factory#newtonsCradle
|
||||
* @since 3.0.0
|
||||
*
|
||||
* @param {number} x - [description]
|
||||
* @param {number} y - [description]
|
||||
* @param {number} number - [description]
|
||||
* @param {number} size - [description]
|
||||
* @param {number} length - [description]
|
||||
* @param {number} x - The horizontal position of the start of the cradle.
|
||||
* @param {number} y - The vertical position of the start of the cradle.
|
||||
* @param {number} number - The number of balls in the cradle.
|
||||
* @param {number} size - The radius of each ball in the cradle.
|
||||
* @param {number} length - The length of the 'string' the balls hang from.
|
||||
*
|
||||
* @return {MatterJS.Composite} A new composite newtonsCradle body.
|
||||
* @return {MatterJS.Composite} A Newton's cradle composite.
|
||||
*/
|
||||
newtonsCradle: function (x, y, number, size, length)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue