Skip to content

Commit 189cbf4

Browse files
committed
Added exists property.
1 parent 6383f6b commit 189cbf4

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

src/pixi/display/Sprite.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,15 @@ PIXI.Sprite = function(texture)
104104
*/
105105
this.shader = null;
106106

107+
/**
108+
* Controls if this Sprite is processed by the core Phaser game loops and Group loops.
109+
*
110+
* @property exists
111+
* @type Boolean
112+
* @default true
113+
*/
114+
this.exists = true;
115+
107116
if (this.texture.baseTexture.hasLoaded)
108117
{
109118
this.onTextureUpdate();

0 commit comments

Comments
 (0)