Ejemplo n.º 1
0
        public static CCSplitCols actionWithCols(int nCols, float duration)
        {
            CCSplitCols cCSplitCol = new CCSplitCols();

            if (cCSplitCol.initWithCols(nCols, duration))
            {
                return(cCSplitCol);
            }
            return(null);
        }
        /// <summary>
        /// creates the action with the number of columns to split and the duration
        /// </summary>
        public static CCSplitCols actionWithCols(int nCols, float duration)
        {
            CCSplitCols pAction = new CCSplitCols();
            if (pAction.initWithCols(nCols, duration))
            {
                return pAction;
            }

            return null;
        }
Ejemplo n.º 3
0
        /// <summary>
        /// creates the action with the number of columns to split and the duration
        /// </summary>
        public static CCSplitCols actionWithCols(int nCols, float duration)
        {
            CCSplitCols pAction = new CCSplitCols();

            if (pAction.initWithCols(nCols, duration))
            {
                return(pAction);
            }

            return(null);
        }
Ejemplo n.º 4
0
        /// <summary>
        /// creates the action with the number of columns to split and the duration
        /// </summary>
        /// <param name="nCols"></param>
        /// <param name="duration"></param>
        /// <returns></returns>
        public static CCSplitCols actionWithCols(int nCols, float duration)
        {
            CCSplitCols pAction = new CCSplitCols();

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

            return pAction;
        }