//-----------------------------------------------------------------------------
/**
* The root object of the display tree.
*
* @class
* @extends PIXI.Container
*/
function Stage() {
this.initialize(...arguments);
}
Stage.prototype = Object.create(PIXI.Container.prototype);
Stage.prototype.constructor = Stage;
Stage.prototype.initialize = function() {
PIXI.Container.call(this);
};
/**
* Destroys the stage.
*/
Stage.prototype.destroy = function() {
const options = { children: true, texture: true };
PIXI.Container.prototype.destroy.call(this, options);
};