Esempio n. 1
0
        public static void Destroy()
        {
            BoxSpriteMan pBSMan = BoxSpriteMan.PrivGetInstance();

            Debug.Assert(pBSMan != null);

            pBSMan.PrivStatDump();

#if (TRACK_DESTRUCTOR_MAN)
            Debug.WriteLine("BoxSpriteMan.Destroy()");
#endif
            pBSMan.BaseDestroy();

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