Hello,
I know this subject is overused and overseen, but I don't know how to do it. I did the tutorial with the asteroids and the counter, but it's not actually exactly what I want.
Here is my problem :
I have a class called Ball.class, I put an actor in it. In the game, it is possible to add other Ball, but when all the balls have disappear, the game must stop. So basically, I need a variable that increase whenever a ball is added, and that decrease whenever a ball is removed.
That's all^^''
Thanks a lot !