/// <summary>
        ///  creates the action with the number of rows to split and the duration 
        /// </summary>
        public static CCSplitRows actionWithRows(int nRows, float duration)
        {
            CCSplitRows pAction = new CCSplitRows();
            if (pAction.initWithRows(nRows, duration))
            {
                return pAction;
            }

            return null;
        }
Beispiel #2
0
        public static CCSplitRows actionWithRows(int nRows, float duration)
        {
            CCSplitRows cCSplitRow = new CCSplitRows();

            if (cCSplitRow.initWithRows(nRows, duration))
            {
                return(cCSplitRow);
            }
            return(null);
        }
Beispiel #3
0
        /// <summary>
        ///  creates the action with the number of rows to split and the duration
        /// </summary>
        public static CCSplitRows actionWithRows(int nRows, float duration)
        {
            CCSplitRows pAction = new CCSplitRows();

            if (pAction.initWithRows(nRows, duration))
            {
                return(pAction);
            }

            return(null);
        }
        /// <summary>
        ///  creates the action with the number of rows to split and the duration 
        /// </summary>
        /// <param name="nRows"></param>
        /// <param name="duration"></param>
        /// <returns></returns>
        public static CCSplitRows actionWithRows(int nRows, float duration)
        {
            CCSplitRows pAction = new CCSplitRows();

            if (pAction != null)
            {
                if (pAction.initWithRows(nRows, duration))
                {
                    //pAction->autorelease();
                }
                else
                {
                    //CC_SAFE_RELEASE_NULL(pAction);
                }
            }

            return pAction;
        }