Skip to content

Commit b2713fa

Browse files
committed
Added GameObject.willRender method.
1 parent a9b00d3 commit b2713fa

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

v3/src/gameobjects/GameObject.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,11 @@ var GameObject = new Class({
6868
return Components.ToJSON(this);
6969
},
7070

71+
willRender: function ()
72+
{
73+
return (this.renderMask === this.renderFlags);
74+
},
75+
7176
destroy: function ()
7277
{
7378
this.parent.remove(this);

0 commit comments

Comments
 (0)