Hey,
in my Little game the actor Spider changes his Image if canSee the Laser class. Then he should Count the Counter til 0 and then remove.
But it says "Unreachable Statement".
What is false??
Thanks a lot
setImage("Blut.png");
bloodcounter = 100;
return;
if(bloodcounter > 0)
{
bloodcounter--;
}
else
{
remove(Spider.class);
return;
}
setImage("Blut.png");
return;
