Ejemplo n.º 1
0
        public static CCScaleTo actionWithDuration(float duration, float sx, float sy)
        {
            CCScaleTo cCScaleTo = new CCScaleTo();

            cCScaleTo.initWithDuration(duration, sx, sy);
            return(cCScaleTo);
        }
Ejemplo n.º 2
0
        /// <summary>
        /// creates the action with and X factor and a Y factor
        /// </summary>
        /// <param name="duration"></param>
        /// <param name="sx"></param>
        /// <param name="sy"></param>
        /// <returns></returns>
        public static CCScaleTo actionWithDuration(float duration, float sx, float sy)
        {
            CCScaleTo pScaleTo = new CCScaleTo();
            pScaleTo.initWithDuration(duration, sx, sy);
            //pScaleTo->autorelease();

            return pScaleTo;
        }
Ejemplo n.º 3
0
        /// <summary>
        /// creates the action with and X factor and a Y factor
        /// </summary>
        /// <param name="duration"></param>
        /// <param name="sx"></param>
        /// <param name="sy"></param>
        /// <returns></returns>
        public static CCScaleTo actionWithDuration(float duration, float sx, float sy)
        {
            CCScaleTo pScaleTo = new CCScaleTo();

            pScaleTo.initWithDuration(duration, sx, sy);
            //pScaleTo->autorelease();

            return(pScaleTo);
        }