示例#1
0
        public static void Destroy()
        {
            GameSpriteMan pSMan = GameSpriteMan.PrivGetInstance();

            Debug.Assert(pSMan != null);

            pSMan.PrivStatDump();

#if (TRACK_DESTRUCTOR_MAN)
            Debug.WriteLine("GameSpriteMan.Destroy()");
#endif
            pSMan.BaseDestroy();

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

            pSMan.poNodeCompare     = null;
            GameSpriteMan.pInstance = null;
        }