i want that my player set 5 bombs ok i got this but now i need an explode method for all 5 bombs always i just cant hit just one bomb.
public void explode()
{
getWorld().removeObjects(getNeighbours(1, false, Wall_1.class));
getWorld().removeObjects(getNeighbours(1, false, Bomber_1.class));
getWorld().removeObjects(getNeighbours(1, false, Bomber_2.class));
getWorld().removeObjects(getIntersectingObjects(Bomber_1.class));
getWorld().removeObjects(getIntersectingObjects(Bomber_2.class));
getWorld().removeObjects(getWorld().getObjects(Bomb.class));
}
Please Help!