Hi guys, I've been trying to get this to work for a while but just cant seem to get everything in place. Im trying to remove a plane from the world once the score hits 50 to allow for a sort of boss to appear. So far all I have is
any help would be greatly appreciated.
1 2 3 4 5 6 7 8 9 10 11 12 | public class PlaneWorld extends World { public void bossSpawn() { if (score == 50 ) { World planeWorld = (Airplane) getObjects(); planeWorld.removeObject(Airplane. class ); } } } |