public void ghost(boolean ghost) { for (GameObject g : children) { g.ghost(ghost); } ghostNoChildren(ghost); }