Exemplo n.º 1
0
 public static void Remove(GameSprite pNode)
 {
     ProxySpriteManager pMan = ProxySpriteManager.PrivGetInstance();
     Debug.Assert(pMan != null);
     Debug.Assert(pNode != null);
     pMan.BaseRemove(pNode);
 }
Exemplo n.º 2
0
 public static ProxySprite Find(ProxySprite.Name name)
 {
     ProxySpriteManager pMan = ProxySpriteManager.PrivGetInstance();
     pMan.poNodeCompare.SetName(name);
     ProxySprite pData = (ProxySprite)pMan.BaseFind(pInstance.poNodeCompare);
     return pData;
 }
Exemplo n.º 3
0
        public static void PrintReport()
        {
            Debug.WriteLine("--------------------------------------------------------------------------------");
            Debug.WriteLine("----------------------------- ProxySprite Manager ------------------------------");
            Debug.WriteLine("--------------------------------------------------------------------------------");

            ProxySpriteManager pMan = ProxySpriteManager.PrivGetInstance();

            Debug.Assert(pMan != null);
            pMan.BasePrintReport();
        }
Exemplo n.º 4
0
        public static ProxySprite Find(ProxySprite.Name name)
        {
            ProxySpriteManager pMan = ProxySpriteManager.PrivGetInstance();

            Debug.Assert(pMan != null);

            pMan.poCompareNode.name = name;

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

            Debug.Assert(pData != null);
            return(pData);
        }
Exemplo n.º 5
0
        // TODO right now proxies are not being added to the manager
        public static ProxySprite Add(Sprite.Name name)
        {
            ProxySpriteManager pMan = ProxySpriteManager.PrivGetInstance();

            Debug.Assert(pMan != null);

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

            Debug.Assert(pNode != null);

            pNode.Set(name);

            return(pNode);
        }
Exemplo n.º 6
0
 public static void Dump()
 {
     ProxySpriteManager pMan = ProxySpriteManager.PrivGetInstance();
     Debug.Assert(pMan != null);
     pMan.BaseDump();
 }