mirror of
https://github.com/photonstorm/phaser
synced 2024-11-23 13:13:43 +00:00
Added isPaused
method
This commit is contained in:
parent
4c6b2cc183
commit
935288518d
1 changed files with 13 additions and 0 deletions
|
@ -482,6 +482,19 @@ var Systems = new Class({
|
||||||
return (this.settings.status === CONST.RUNNING);
|
return (this.settings.status === CONST.RUNNING);
|
||||||
},
|
},
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Is this Scene paused?
|
||||||
|
*
|
||||||
|
* @method Phaser.Scenes.Systems#isPaused
|
||||||
|
* @since 3.13.0
|
||||||
|
*
|
||||||
|
* @return {boolean} `true` if this Scene is paused, otherwise `false`.
|
||||||
|
*/
|
||||||
|
isPaused: function ()
|
||||||
|
{
|
||||||
|
return (this.settings.status === CONST.PAUSED);
|
||||||
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Is this Scene currently transitioning out to, or in from another Scene?
|
* Is this Scene currently transitioning out to, or in from another Scene?
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in a new issue