hi everyone,
i got a problem (again) the following method in my scenario isn“t working:
thanking you in anticipation(for the hundred and first time ;) )
public void getHurt()
{
setImage("death.PNG");
Greenfoot.delay(4);
getWorld().removeObject(this);
}
public void die()
{
Actor a = getOneIntersectingObject(Ninjastar.class);
if(a != null)
{
getHurt();
getWorld().removeObject(a);
}
}

