Hi. I am having a problem which I cannot figure out. I am receiving an error 'Illegal start of expression' at the beginning of a certain bit of code:
Sorry, I'm very new to this kind of stuff. If anyone could let me know what the problem is?
Thanks.
public void hide()
{
private int timer = 50;
{
if (timer > 0)
{
timer --;
if (timer == 0)
{
getWorld().removeObject(this);
timer = 50;
}
}
}
}
