hi can u help me out there:
i doesnt work with "this" i think but i dont know how to paraphrase it ^^
here is the atWorldEdge boolean:
private void atEdge() { if (atWorldEdge()) { removeObject(this); }
public boolean atWorldEdge() { if(getX() <=1 || getX() > getWorld().getWidth()) return true; if(getY()<= 1 || getY() > getWorld().getHeight()) return true; else return false; }