Hello.
I am fairly new to Greenfoot and I have encountered a problem. I am trying to make a small game similiar to space invaders and I would like to know when all the enemies are dead so I can change the level. I know there is a numberOfObjects method but I'm not sure if that would work when determining if there is just the user's ship or just 1 enemy ship left.
Simply put, how do you determine when you have all the enemy actors dead and just the player actor is alive
Thanks : D

