These are chat archives for pixijs/pixi.js

Oct 2015
Nugzar Gaguliya
Oct 13 2015 06:55
Don't you think that destroy() must be event, not method?
I have class Timer that extends PIXI.Text and if i destroy it i must rewrite destroy method with calling super.destroy()
Nugzar Gaguliya
Oct 13 2015 07:01
for stopping timer
it not so bad, but what will happen if i have in my code some relation on this timer and i want do something when it was destroyed?
I also can create my own event, that will emit on calling thisClass.destroy with super.destroy
Oct 13 2015 08:12
@englercj thank you for pointing this out, I’ll look into that direction ! (I should have found that alone though … -_- )