Ejemplo n.º 1
0
        public static void Destroy()
        {
            // Get the instance
            ProxySpriteManager pMan = ProxySpriteManager.privGetInstance();

            Debug.WriteLine("--->ProxySpriteManager.Destroy()");
            pMan.baseDestroy();

            #if (TRACK_DESTRUCTOR)
            Debug.WriteLine("     {0} ({1})", ProxySpriteManager.pSpriteRef, ProxySpriteManager.pSpriteRef.GetHashCode());
            Debug.WriteLine("     {0} ({1})", ProxySpriteManager.pInstance, ProxySpriteManager.pInstance.GetHashCode());
            #endif
            ProxySpriteManager.pSpriteRef = null;
            ProxySpriteManager.pInstance  = null;
        }