Пример #1
0
        void shouldNotLeak(float dt)
        {
            unschedule((shouldNotLeak));
            CCLayer sublayer = (CCLayer)getChildByTag(CocosNodeTestStaticLibrary.kTagSprite1);

            sublayer.removeAllChildrenWithCleanup(true);
        }