Esempio n. 1
0
        public static void Destroy()
        {
            // Get the instance
            ProxySpriteMan pMan = ProxySpriteMan.PrivGetInstance();

            Debug.Assert(pMan != null);
#if (TRACK_DESTRUCTOR_MAN)
            Debug.WriteLine("--->GameSpriteMan.Destroy()");
#endif
            pMan.BaseDestroy();

#if (TRACK_DESTRUCTOR_MAN)
            Debug.WriteLine("     {0} ({1})", pMan.poNodeCompare, pMan.poNodeCompare.GetHashCode());
            Debug.WriteLine("     {0} ({1})", GameSpriteMan.pInstance, GameSpriteMan.pInstance.GetHashCode());
#endif

            pMan.poNodeCompare       = null;
            ProxySpriteMan.pInstance = null;
        }
Esempio n. 2
0
        public static void Destroy()
        {
            ProxySpriteMan pPSMan = ProxySpriteMan.PrivGetInstance();

            Debug.Assert(pPSMan != null);

            pPSMan.PrivStatDump();

#if (TRACK_DESTRUCTOR_MAN)
            Debug.WriteLine("ProxySpriteMan.Destroy()");
#endif
            pPSMan.BaseDestroy();

#if (TRACK_DESTRUCTOR_MAN)
            Debug.WriteLine("     {0} ({1})", pPSMan.poNodeCompare, pPSMan.poNodeCompare.GetHashCode());
            Debug.WriteLine("     {0} ({1})", ProxySpriteMan.pInstance, ProxySpriteMan.pInstance.GetHashCode());
#endif
            pPSMan.poNodeCompare     = null;
            ProxySpriteMan.pInstance = null;
        }