Exemplo n.º 1
0
        public static void Remove(SpriteBatch pSpriteBatch)
        {
            //ensure call Create() first
            SpriteBatchMan pMan = SpriteBatchMan.GetInstance();

            Debug.Assert(pMan != null);

            Debug.Assert(pSpriteBatch != null);
            pMan.baseRemove(pSpriteBatch);
        }
Exemplo n.º 2
0
        public static void Remove(SpriteBatch pNode)
        {
            //SpriteBatchMan pMan = SpriteBatchMan.privGetInstance();
            SpriteBatchMan pMan = SpriteBatchMan.pActiveSBMan;

            Debug.Assert(pMan != null);

            Debug.Assert(pNode != null);
            pMan.baseRemove(pNode);
        }