Пример #1
0
        protected override void derivedReset(DLink pLink)
        {
            Debug.Assert(pLink != null);
            ProxySprite pProxySprite = (ProxySprite)pLink;

            pProxySprite.deepClear();
        }
Пример #2
0
        public static void Reset()
        {
            //ensure call Create() first
            ProxySpriteMan pMan = ProxySpriteMan.GetInstance();

            Debug.Assert(pMan != null);

            ProxySprite pProxySprite = (ProxySprite)pMan.pActive;

            while (pProxySprite != null)
            {
                pProxySprite.deepClear();
                pProxySprite = (ProxySprite)pProxySprite.pNext;
            }

            pMan.baseSetActiveHead(null);
        }