コード例 #1
0
        public void removeSprite(CCNode sender)
        {
            ////----UXLOG("removing tile: %x", sender);
            CCNode p = ((CCNode)sender).parent;

            if (p != null)
            {
                p.removeChild((CCNode)sender, true);
            }

            //////----UXLOG("atlas quantity: %d", p->textureAtlas()->totalQuads());
        }