2017-07-11 15:48:25 +00:00
|
|
|
var Pause = function (key)
|
|
|
|
{
|
2017-07-14 13:30:20 +00:00
|
|
|
var entry = this.getActiveScene(key);
|
2017-07-11 15:48:25 +00:00
|
|
|
|
|
|
|
if (entry)
|
|
|
|
{
|
2017-07-14 13:30:20 +00:00
|
|
|
entry.scene.sys.pause();
|
2017-07-11 15:48:25 +00:00
|
|
|
}
|
|
|
|
};
|
|
|
|
|
|
|
|
module.exports = Pause;
|