public void attach(BaseSprite spr) { SpriteBatchNode toAdd = (SpriteBatchNode)this.Add(); toAdd.set(spr); spr.setBatch(this); }