hi,
I just started to learn coding and i've got a problem. i wrote this, but the object doesn't get removed. what am i doing wrong?
public void die()
{
getWorld().removeObject(this);
}