예제 #1
0
        public static void Reset()
        {
            //ensure call Create() first
            SpriteBatchMan pMan = SpriteBatchMan.GetInstance();

            Debug.Assert(pMan != null);

            SpriteBatch pSpriteBatch = (SpriteBatch)pMan.pActive;

            while (pSpriteBatch != null)
            {
                pSpriteBatch.deepClear();
                pSpriteBatch = (SpriteBatch)pSpriteBatch.pNext;
            }

            pMan.baseSetActiveHead(null);
        }