Exemple #1
0
        public override object Copy(ICCCopyable pZone)
        {
            CCBSetSpriteFrame pRet;

            if (pZone != null)
            {
                pRet = (CCBSetSpriteFrame)(pZone);
            }
            else
            {
                pRet  = new CCBSetSpriteFrame();
                pZone = (pRet);
            }

            pRet.InitWithSpriteFrame(mSpriteFrame);
            base.Copy(pZone);
            return(pRet);
        }
        public override object Copy(ICopyable pZone)
        {
            CCBSetSpriteFrame pRet;

            if (pZone != null)
            {
                pRet = (CCBSetSpriteFrame) (pZone);
            }
            else
            {
                pRet = new CCBSetSpriteFrame();
                pZone =  (pRet);
            }

            pRet.InitWithSpriteFrame(mSpriteFrame);
            base.Copy(pZone);
            return pRet;
        }