How do you remove two Actors in one Actor like:
then you also getWorld().removeObject("Random.class);
but, when I do that, it give me an error saying it can't be applied.
if(Greenfoot.mouseClicked(this))
{
getWorld().addObject ( new Ground2(), 402, 748);
getWorld().addObject ( new Ground2(), 850, 748);
getWorld().addObject ( new Ground(), 450, 433);
getWorld().addObject ( new SubGround(), 250, 550);
getWorld().addObject ( new DHealthbar(), 1400, 748);
getWorld().addObject ( new Bowman(), 89, 608);
getWorld().addObject ( new Dragonoir(), 1500, 370);
getWorld().setBackground("BATTLE.png");
getWorld().removeObject(this);
}


