public static void Remove(SBNode pSpriteBatchNode) { Debug.Assert(pSpriteBatchNode != null); SBNodeMan pSBNodeMan = pSpriteBatchNode.GetSBNodeMan(); Debug.Assert(pSBNodeMan != null); pSBNodeMan.Remove(pSpriteBatchNode); }
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); }