Ejemplo n.º 1
0
        public override object Copy(ICopyable pZone)
        {
            CCEaseBounce pCopy;

            if (pZone != null)
            {
                //in case of being called at sub class
                pCopy = pZone as CCEaseBounce;
            }
            else
            {
                pCopy = new CCEaseBounce();
            }

            pCopy.InitWithAction((CCActionInterval) (m_pOther.Copy()));

            return pCopy;
        }
Ejemplo n.º 2
0
        /// <summary>
        /// creates the action
        /// </summary>
        /// <param name="pAction"></param>
        /// <returns></returns>
        public static new CCEaseBounce actionWithAction(CCActionInterval pAction)
        {
            CCEaseBounce pRet = new CCEaseBounce();

            if (pRet != null)
            {
                if (pRet.initWithAction(pAction))
                {
                    //pRet.autorelease();
                }
                else
                {
                    //CC_SAFE_RELEASE_NULL(pRet);
                }
            }

            return pRet;
        }
Ejemplo n.º 3
0
        /// <summary>
        /// creates the action
        /// </summary>
        /// <param name="pAction"></param>
        /// <returns></returns>
        public new static CCEaseBounce actionWithAction(CCActionInterval pAction)
        {
            CCEaseBounce pRet = new CCEaseBounce();

            if (pRet != null)
            {
                if (pRet.initWithAction(pAction))
                {
                    //pRet.autorelease();
                }
                else
                {
                    //CC_SAFE_RELEASE_NULL(pRet);
                }
            }

            return(pRet);
        }
Ejemplo n.º 4
0
        public override CCObject copyWithZone(CCZone pZone)
        {
            CCZone pNewZone = null;
            CCEaseBounce pCopy = null;

            if (pZone != null && pZone.m_pCopyObject != null)
            {
                //in case of being called at sub class
                pCopy = pZone.m_pCopyObject as CCEaseBounce;
            }
            else
            {
                pCopy = new CCEaseBounce();
                pZone = pNewZone = new CCZone(pCopy);
            }

            pCopy.initWithAction((CCActionInterval)(m_pOther.copy()));

            return pCopy;
        }
Ejemplo n.º 5
0
        public override CCObject copyWithZone(CCZone pZone)
        {
            CCZone       pNewZone = null;
            CCEaseBounce pCopy    = null;

            if (pZone != null && pZone.m_pCopyObject != null)
            {
                //in case of being called at sub class
                pCopy = pZone.m_pCopyObject as CCEaseBounce;
            }
            else
            {
                pCopy = new CCEaseBounce();
                pZone = pNewZone = new CCZone(pCopy);
            }

            pCopy.initWithAction((CCActionInterval)(m_pOther.copy()));

            return(pCopy);
        }
Ejemplo n.º 6
0
 public CCEaseBounce (CCEaseBounce easeBounce) : base (easeBounce)
 { }
Ejemplo n.º 7
0
 public CCEaseBounce(CCEaseBounce easeBounce) : base(easeBounce)
 {
 }
Ejemplo n.º 8
0
 public static new CCEaseBounce Create(CCActionInterval pAction)
 {
     var pRet = new CCEaseBounce();
     pRet.InitWithAction(pAction);
     return pRet;
 }