Ejemplo n.º 1
0
        /** creates the action */
        public new static CCEaseExponentialInOut actionWithAction(CCActionInterval pAction)
        {
            CCEaseExponentialInOut pRet = new CCEaseExponentialInOut();

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

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

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

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

            return(pCopy);
        }