mirror of
https://github.com/photonstorm/phaser
synced 2024-12-26 04:53:38 +00:00
665b295c3b
Also updated the physicsManager to make it a lot more cleaner and easy to adjust in future
11 lines
160 B
JavaScript
11 lines
160 B
JavaScript
var Pause = function (key)
|
|
{
|
|
var entry = this.getActiveScene(key);
|
|
|
|
if (entry)
|
|
{
|
|
entry.scene.sys.pause();
|
|
}
|
|
};
|
|
|
|
module.exports = Pause;
|