How can I delete a class with the method getObjectsInRange ?
Just like in the wombat-scenario the leaf would delete.
The first idea :
public void mauerberuhrt2()
{
getObjectsInRange (80, seifenblase.class);
if(seifenblase.class!= null)
{
getWorld().removeObject(seifenblase.class);
}
}
Thx for your answers and sry for my bad english.
Advenging

