public static ProxySprite Add(SpriteBaseName spriteName) { ProxySpriteManager proxySpriteMan = ProxySpriteManager.GetInstance(); ProxySprite proxySprite = (ProxySprite)proxySpriteMan.BaseAdd(); proxySprite.Set(spriteName); return(proxySprite); }
public static void Dump() { ProxySpriteManager pMan = ProxySpriteManager.GetInstance(); Debug.Assert(pMan != null); pMan.BaseDump(); }
public static void Remove(GameSprite pNode) { ProxySpriteManager pMan = ProxySpriteManager.GetInstance(); Debug.Assert(pMan != null); Debug.Assert(pNode != null); pMan.BaseRemove(pNode); }
public static ProxySprite Add(GameSprite.Name name) { ProxySpriteManager pMan = ProxySpriteManager.GetInstance(); Debug.Assert(pMan != null); ProxySprite pNode = (ProxySprite)pMan.BaseAdd(); Debug.Assert(pNode != null); pNode.Set(name); return(pNode); }
public static ProxySprite Find(ProxySprite.Name name) { ProxySpriteManager pMan = ProxySpriteManager.GetInstance(); Debug.Assert(pMan != null); // Compare functions only compares two Nodes // So: Use the Compare Node - as a reference // use in the Compare() function pMan.poNodeCompare.SetName(name); ProxySprite pData = (ProxySprite)pMan.BaseFind(pMan.poNodeCompare); return(pData); }
public static void Dump() { ProxySpriteManager proxySpriteMan = ProxySpriteManager.GetInstance(); proxySpriteMan.BaseDump(); }