mirror of
https://github.com/wassname/phaser.git
synced 2026-07-19 11:26:26 +08:00
Input Handler updates, orientation screen and World visibility
This commit is contained in:
@@ -258,3 +258,19 @@ Object.defineProperty(Phaser.World.prototype, "randomY", {
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
/**
|
||||
* @name Phaser.World#visible
|
||||
* @property {boolean} visible - Gets or sets the visible state of the World.
|
||||
*/
|
||||
Object.defineProperty(Phaser.World.prototype, "visible", {
|
||||
|
||||
get: function () {
|
||||
return this._container.visible;
|
||||
},
|
||||
|
||||
set: function (value) {
|
||||
this._container.visible = value;
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user