public static void Dump() { ProxySpriteMan pMan = ProxySpriteMan.PrivGetInstance(); Debug.Assert(pMan != null); pMan.BaseDump(); }
public static void Remove(GameSprite pNode) { ProxySpriteMan pMan = ProxySpriteMan.PrivGetInstance(); Debug.Assert(pMan != null); Debug.Assert(pNode != null); pMan.BaseRemove(pNode); }
private void PrivStatDump() { ProxySpriteMan pPSMan = ProxySpriteMan.PrivGetInstance(); Debug.Assert(pPSMan != null); Debug.WriteLine(""); Debug.WriteLine("ProxySprite Manager Stats---------------------"); pPSMan.BaseStatDump(); }
public static ProxySprite Find(ProxySprite.Name name) { ProxySpriteMan pMan = ProxySpriteMan.PrivGetInstance(); Debug.Assert(pMan != null); pMan.poNodeCompare.SetName(name); ProxySprite pNode = (ProxySprite)pMan.BaseFind(pMan.poNodeCompare); return(pNode); }
public static ProxySprite Add(GameSprite.Name name) { ProxySpriteMan pMan = ProxySpriteMan.PrivGetInstance(); 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) { ProxySpriteMan pMan = ProxySpriteMan.PrivGetInstance(); 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 Destroy() { // Get the instance ProxySpriteMan pMan = ProxySpriteMan.PrivGetInstance(); Debug.Assert(pMan != null); #if (TRACK_DESTRUCTOR_MAN) Debug.WriteLine("--->GameSpriteMan.Destroy()"); #endif pMan.BaseDestroy(); #if (TRACK_DESTRUCTOR_MAN) Debug.WriteLine(" {0} ({1})", pMan.poNodeCompare, pMan.poNodeCompare.GetHashCode()); Debug.WriteLine(" {0} ({1})", GameSpriteMan.pInstance, GameSpriteMan.pInstance.GetHashCode()); #endif pMan.poNodeCompare = null; ProxySpriteMan.pInstance = null; }
public static void Destroy() { ProxySpriteMan pPSMan = ProxySpriteMan.PrivGetInstance(); Debug.Assert(pPSMan != null); pPSMan.PrivStatDump(); #if (TRACK_DESTRUCTOR_MAN) Debug.WriteLine("ProxySpriteMan.Destroy()"); #endif pPSMan.BaseDestroy(); #if (TRACK_DESTRUCTOR_MAN) Debug.WriteLine(" {0} ({1})", pPSMan.poNodeCompare, pPSMan.poNodeCompare.GetHashCode()); Debug.WriteLine(" {0} ({1})", ProxySpriteMan.pInstance, ProxySpriteMan.pInstance.GetHashCode()); #endif pPSMan.poNodeCompare = null; ProxySpriteMan.pInstance = null; }