Ejemplo n.º 1
0
        public static CCActionInterval actionWithDuration(float t)
        {
            CCFadeOutTRTiles fadeout = new CCFadeOutTRTiles(new CCGridSize(16, 12), t);
            CCFiniteTimeAction back = fadeout.Reverse();
            CCDelayTime delay = new CCDelayTime (0.5f);

            return (CCActionInterval)(CCSequence.FromActions(fadeout, delay, back));
        }
Ejemplo n.º 2
0
        public static new CCFadeOutTRTiles actionWithSize(ccGridSize gridSize, float time)
        {
            CCFadeOutTRTiles cCFadeOutTRTile = new CCFadeOutTRTiles();

            if (cCFadeOutTRTile.initWithSize(gridSize, time))
            {
                return(cCFadeOutTRTile);
            }
            return(null);
        }
Ejemplo n.º 3
0
        /// <summary>
        /// creates the action with the grid size and the duration
        /// </summary>
        public static new CCFadeOutTRTiles actionWithSize(ccGridSize gridSize, float time)
        {
            CCFadeOutTRTiles pAction = new CCFadeOutTRTiles();

            if (pAction.initWithSize(gridSize, time))
            {
                return pAction;
            }

            return null;
        }
Ejemplo n.º 4
0
        /// <summary>
        /// creates the action with the grid size and the duration
        /// </summary>
        public new static CCFadeOutTRTiles actionWithSize(ccGridSize gridSize, float time)
        {
            CCFadeOutTRTiles pAction = new CCFadeOutTRTiles();

            if (pAction.initWithSize(gridSize, time))
            {
                return(pAction);
            }

            return(null);
        }
        /// <summary>
        /// creates the action with the grid size and the duration
        /// </summary>
        /// <param name="?"></param>
        /// <returns></returns>
        public static CCFadeOutTRTiles actionWithSize(ccGridSize gridSize, float time)
        {
            CCFadeOutTRTiles pAction = new CCFadeOutTRTiles();

            if (pAction != null)
            {
                if (pAction.initWithSize(gridSize, time))
                {
                    //pAction->autorelease();
                }
                else
                {
                    //CC_SAFE_RELEASE_NULL(pAction);
                }
            }

            return pAction;
        }
Ejemplo n.º 6
0
 public virtual CCActionInterval actionWithSize(ccGridSize size)
 {
     return(CCFadeOutTRTiles.actionWithSize(size, m_fDuration));
 }
Ejemplo n.º 7
0
 /// <summary>
 /// creates the action with the grid size and the duration
 /// </summary>
 public static new CCFadeOutTRTiles Create(CCGridSize gridSize, float time)
 {
     var pAction = new CCFadeOutTRTiles();
     pAction.InitWithSize(gridSize, time);
     return pAction;
 }