public static GameSprite Find(GameSprite.Name name)
        {
            GameSpriteManager pMan = GameSpriteManager.privGetInstance();

            Debug.Assert(pMan != null);


            pMan.poNodeCompare.name = name;

            GameSprite pData = (GameSprite)pMan.BaseFind(pMan.poNodeCompare);

            return(pData);
        }
Exemplo n.º 2
0
        public static GameSprite Find(GameSprite.Name name)
        {
            GameSpriteManager pMan = GameSpriteManager.PrivGetInstance();

            Debug.Assert(pMan != null);

            // So:  Use the Compare Node - as a reference
            //      use in the Compare() function
            pMan.poNodeCompare.SetName(name);

            GameSprite pData = (GameSprite)pMan.BaseFind(pMan.poNodeCompare);

            return(pData);
        }