Example #1
0
        public static new CCEaseBounce actionWithAction(CCActionInterval pAction)
        {
            CCEaseBounce cCEaseBounce = new CCEaseBounce();

            if (cCEaseBounce != null)
            {
                cCEaseBounce.initWithAction(pAction);
            }
            return(cCEaseBounce);
        }
        /// <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);
        }
        /// <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; 
        }