Esempio n. 1
0
        public static ProxySprite Add(GameSprite.Name name)
        {
            //ensure call Create() first
            ProxySpriteMan pMan = ProxySpriteMan.GetInstance();

            Debug.Assert(pMan != null);

            ProxySprite pProxySprite = (ProxySprite)pMan.baseAdd();

            Debug.Assert(pProxySprite != null);

            pProxySprite.set(name);
            return(pProxySprite);
        }