Example #1
0
        public static void Remove(SBNode pSpriteBatchNode)
        {
            Debug.Assert(pSpriteBatchNode != null);
            SBNodeMan pSBNodeMan = pSpriteBatchNode.GetSBNodeMan();

            Debug.Assert(pSBNodeMan != null);
            pSBNodeMan.Remove(pSpriteBatchNode);
        }
Example #2
0
        public static void RemoveSprite(SBNode pSpriteBaseNode)
        {
            Debug.Assert(pSpriteBaseNode != null);
            //Get the manager that holds the sprite base node
            SBNodeMan pSBNodeMan = pSpriteBaseNode.GetSBNodeMan();

            Debug.Assert(pSBNodeMan != null);
            pSBNodeMan.Remove(pSpriteBaseNode);
        }