File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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]
Original file line number Diff line number Diff 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 *
You can’t perform that action at this time.
0 commit comments