public static void Remove(ProxyBoxSprite pNode)
        {
            ProxyBoxSpriteManager pMan = ProxyBoxSpriteManager.PrivGetInstance();

            Debug.Assert(pMan != null);

            Debug.Assert(pNode != null);
            pMan.BaseRemove(pNode);
        }
        public static void PrintReport()
        {
            Debug.WriteLine("--------------------------------------------------------------------------------");
            Debug.WriteLine("----------------------------- ProxyBoxSprite Manager ------------------------------");
            Debug.WriteLine("--------------------------------------------------------------------------------");

            ProxyBoxSpriteManager pMan = ProxyBoxSpriteManager.PrivGetInstance();

            Debug.Assert(pMan != null);
            pMan.BasePrintReport();
        }
        public static ProxyBoxSprite Find(ProxyBoxSprite.Name name)
        {
            ProxyBoxSpriteManager pMan = ProxyBoxSpriteManager.PrivGetInstance();

            Debug.Assert(pMan != null);

            pMan.poCompareNode.name = name;

            ProxyBoxSprite pData = (ProxyBoxSprite)pMan.BaseFind(pMan.poCompareNode);

            Debug.Assert(pData != null);
            return(pData);
        }
        // TODO right now proxies are not being added to the manager
        public static ProxyBoxSprite Add(BoxSprite.Name name)
        {
            ProxyBoxSpriteManager pMan = ProxyBoxSpriteManager.PrivGetInstance();

            Debug.Assert(pMan != null);

            ProxyBoxSprite pNode = (ProxyBoxSprite)pMan.BaseAdd();

            Debug.Assert(pNode != null);

            pNode.Set(name);

            return(pNode);
        }