public void end() { for (GameObject g : new ArrayList<GameObject>(children)) { g.end(); } endNoChildren(); }