How can you make an Actor wait 5 seconds (but in such a way that the whole game doesn't stop) and then delete itself?
![Twitter](/assets/twitter-4e19209ef84344ee0c433f4c7bad8d49.png)
![Twitter.hover](/assets/twitter.hover-1fb19a5bafc50deace8f88eaec867845.png)
1 2 3 4 5 6 | private int timer = 0 ; public void act() { if (++timer == 300 ) getWorld().removeObject( this ); } |