So I am making a game with bosses right now, but I have a problem. Theres one boss 3 times in the same room and if they die I want to spawn another actor, but i dont know how to do it.
public MyWorld()
{
super(1024, 550, 1,false);
addObject(new Spinne(), 800,300);
addObject(new Spinne(), 800,225);
addObject(new Spinne(), 800,100);
addObject(new Jim(),200,225);
}