public static void Reset() { //ensure call Create() first BoxSpriteMan pMan = BoxSpriteMan.GetInstance(); Debug.Assert(pMan != null); BoxSprite pBoxSprite = (BoxSprite)pMan.pActive; while (pBoxSprite != null) { pBoxSprite.deepClear(); pBoxSprite = (BoxSprite)pBoxSprite.pNext; } pMan.baseSetActiveHead(null); }