protected void renderChildren(IGraphicsWrapper graphics, int offX, int offY) throws SlickException { this.childrenCopy.clear(); this.childrenCopy.addAll(this.children); for (final IScreenElement element : this.childrenCopy) { element.render(graphics, offX + this.x, offY + this.y); } }
@Override public void addChild(IScreenElement element) { this.children.add(element); element.setParent(this); }