@Override protected boolean onUpdateSpriteBatch() { final SmartList<IEntity> children = this.mChildren; if (children == null) { return false; } else { final int childCount = children.size(); for (int i = 0; i < childCount; i++) { super.drawWithoutChecks((BaseSprite) children.get(i)); } return true; } }
public void attachChild(final BaseSprite pBaseSprite) { this.assertCapacity(); this.assertTexture(pBaseSprite.getTextureRegion()); super.attachChild(pBaseSprite); }