예제 #1
0
        public static ProxySprite Add(SpriteBaseName spriteName)
        {
            ProxySpriteManager proxySpriteMan = ProxySpriteManager.GetInstance();
            ProxySprite        proxySprite    = (ProxySprite)proxySpriteMan.BaseAdd();

            proxySprite.Set(spriteName);
            return(proxySprite);
        }
예제 #2
0
        public static void Dump()
        {
            ProxySpriteManager pMan = ProxySpriteManager.GetInstance();

            Debug.Assert(pMan != null);

            pMan.BaseDump();
        }
예제 #3
0
        public static void Remove(GameSprite pNode)
        {
            ProxySpriteManager pMan = ProxySpriteManager.GetInstance();

            Debug.Assert(pMan != null);

            Debug.Assert(pNode != null);
            pMan.BaseRemove(pNode);
        }
예제 #4
0
        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);
        }
예제 #5
0
        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);
        }
예제 #6
0
        public static void Dump()
        {
            ProxySpriteManager proxySpriteMan = ProxySpriteManager.GetInstance();

            proxySpriteMan.BaseDump();
        }