public override object Copy(ICopyable pZone)
        {
            CCEaseBounceInOut pCopy;

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

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

            return pCopy;
        }
Beispiel #2
0
        /// <summary>
        /// creates the action
        /// </summary>
        /// <param name="pAction"></param>
        /// <returns></returns>
        public static new CCEaseBounceInOut actionWithAction(CCActionInterval pAction)
        {
            CCEaseBounceInOut pRet = new CCEaseBounceInOut();

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

            return pRet;
        }
Beispiel #3
0
        public override CCObject copyWithZone(CCZone pZone)
        {
            CCZone pNewZone = null;
            CCEaseBounceInOut pCopy = null;

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

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

            return pCopy;
        }
 public CCEaseBounceInOut (CCEaseBounceInOut easeBounceInOut) : base (easeBounceInOut)
 { }
 public CCEaseBounceInOutState (CCEaseBounceInOut action, CCNode target) : base (action, target)
 {
 }
 public static new CCEaseBounceInOut Create(CCActionInterval pAction)
 {
     var pRet = new CCEaseBounceInOut();
     pRet.InitWithAction(pAction);
     return pRet;
 }