Skip to content

Commit 8230f3f

Browse files
committed
Circle docs and formatting return values
1 parent 7c9a5b4 commit 8230f3f

27 files changed

Lines changed: 257 additions & 7 deletions

v3/src/animation/manager/inc/AddAnimation.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ var Event = require('../events/');
99
*
1010
* @param {string} key - [description]
1111
* @param {Phaser.Animations.Animation} animation - [description]
12+
*
1213
* @return {Phaser.Animations.AnimationManager} The Animation Manager for method chaining.
1314
*/
1415
var AddAnimation = function (key, animation)

v3/src/animation/manager/inc/CreateFrameAnimation.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ var Animation = require('../../frame/Animation');
99
* @since 3.0.0
1010
*
1111
* @param {object} config - [description]
12+
*
1213
* @return {Phaser.Animations.Animation} The Animation that was created.
1314
*/
1415
var CreateFrameAnimation = function (config)

v3/src/animation/manager/inc/FromJSON.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
*
77
* @param {string|object} data - [description]
88
* @param {boolean} [clearCurrentAnimations=false] - [description]
9+
*
910
* @return {array} An array containing all of the Animation objects that were created as a result of this call.
1011
*/
1112
var FromJSON = function (data, clearCurrentAnimations)

v3/src/animation/manager/inc/GenerateFrameNames.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ var Pad = require('../../../utils/string/Pad');
1616
* @param {integer} [config.zeroPad=0] - [description]
1717
* @param {array} [config.outputArray=[]] - [description]
1818
* @param {boolean} [config.frames=false] - [description]
19+
*
1920
* @return {array} [description]
2021
*/
2122
var GenerateFrameNames = function (key, config)

v3/src/animation/manager/inc/GenerateFrameNumbers.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ var GetValue = require('../../../utils/object/GetValue');
1313
* @param {boolean} [config.first=false] - [description]
1414
* @param {array} [config.outputArray=[]] - [description]
1515
* @param {boolean} [config.frames=false] - [description]
16+
*
1617
* @return {array} [description]
1718
*/
1819
var GenerateFrameNumbers = function (key, config)

v3/src/animation/manager/inc/GetAnimation.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
* @since 3.0.0
66
*
77
* @param {string} key - [description]
8+
*
89
* @return {Phaser.Animations.Animation} [description]
910
*/
1011
var GetAnimation = function (key)

v3/src/animation/manager/inc/LoadAnimationToGameObject.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
* @param {Phaser.GameObjects.GameObject} child - [description]
88
* @param {string} key - [description]
99
* @param {string|integer} [startFrame] - [description]
10+
*
1011
* @return {Phaser.GameObjects.GameObject} [description]
1112
*/
1213
var LoadAnimationToGameObject = function (child, key, startFrame)

v3/src/animation/manager/inc/PlayAnimation.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
*
77
* @param {string} key - [description]
88
* @param {Phaser.GameObjects.GameObject} child - [description]
9+
*
910
* @return {Phaser.Animations.AnimationManager} The Animation Manager for method chaining.
1011
*/
1112
var PlayAnimation = function (key, child)

v3/src/animation/manager/inc/RemoveAnimation.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ var Event = require('../events/');
88
* @since 3.0.0
99
*
1010
* @param {string} key - [description]
11+
*
1112
* @return {Phaser.Animations.Animation} [description]
1213
*/
1314
var RemoveAnimation = function (key)

v3/src/animation/manager/inc/StaggerPlayAnimation.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
* @param {string} key - [description]
88
* @param {Phaser.GameObjects.GameObject} child - [description]
99
* @param {number} [stagger=0] - [description]
10+
*
1011
* @return {Phaser.Animations.AnimationManager} The Animation Manager for method chaining.
1112
*/
1213
var StaggerPlayAnimation = function (key, child, stagger)

0 commit comments

Comments
 (0)