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); }
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); }