Skip to content

Commit d3cb076

Browse files
committed
Updated jsdocs.
1 parent 2434bb1 commit d3cb076

3 files changed

Lines changed: 142 additions & 164 deletions

File tree

src/physics/impact/Body.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -505,7 +505,7 @@ var Body = new Class({
505505
* [description]
506506
*
507507
* @method Phaser.Physics.Impact.Body#fromJSON
508-
* @todo
508+
* @todo Code it!
509509
* @since 3.0.0
510510
*
511511
* @param {object} config - [description]

src/physics/impact/ImpactPhysics.js

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,32 @@ var ImpactPhysics = new Class({
112112
eventEmitter.on('destroy', this.destroy, this);
113113
},
114114

115+
/**
116+
* [description]
117+
*
118+
* @method Phaser.Physics.Impact.ImpactPhysics#pause
119+
* @since 3.0.0
120+
*
121+
* @return {[type]} [description]
122+
*/
123+
pause: function ()
124+
{
125+
return this.world.pause();
126+
},
127+
128+
/**
129+
* [description]
130+
*
131+
* @method Phaser.Physics.Impact.ImpactPhysics#resume
132+
* @since 3.0.0
133+
*
134+
* @return {[type]} [description]
135+
*/
136+
resume: function ()
137+
{
138+
return this.world.resume();
139+
},
140+
115141
/**
116142
* [description]
117143
*

0 commit comments

Comments
 (0)