Esempio n. 1
0
        public static void Remove(GameSprite pNode)
        {
            GameSpriteMan pMan = GameSpriteMan.privGetInstance();

            Debug.Assert(pMan != null);

            Debug.Assert(pNode != null);
            pMan.baseRemove(pNode);
        }
        public void Remove(GameSprite pNode)
        {
            //GameSpriteMan pMan = GameSpriteMan.privGetInstance();
            GameSpriteMan pMan = GameSpriteMan.pActiveGSMan;

            Debug.Assert(pMan != null);

            Debug.Assert(pNode != null);
            pMan.baseRemove(pNode);
        }
Esempio n. 3
0
        public static void Remove(GameSprite pGameSprite)
        {
            //ensure call Create() first
            GameSpriteMan pMan = GameSpriteMan.GetInstance();

            Debug.Assert(pMan != null);

            // ensure pGameSprite is not null
            Debug.Assert(pGameSprite != null);
            pMan.baseRemove(pGameSprite);
        }