I simplified the 'act' method to this:
public void act()
{
if(Hit())
{
removeHealth();
getWorld().removeObject(this);
return;
}
int x = Greenfoot.getRandomNumber(2);
move(-x);
if(atWorldEdge()) getWorld().removeObject(this);
}
