public static CCActionInterval actionWithDuration(float t)
        {
            CCFadeOutUpTiles fadeout = new CCFadeOutUpTiles(new CCGridSize(16, 12), t);
            CCFiniteTimeAction back = fadeout.Reverse();
            CCDelayTime delay = new CCDelayTime (0.5f);

            return (CCActionInterval)(CCSequence.FromActions(fadeout, delay, back));
        }
 /// <summary>
 /// creates the action with the grid size and the duration 
 /// </summary>
 public static CCFadeOutUpTiles actionWithSize(ccGridSize gridSize, float time)
 {
     CCFadeOutUpTiles pAction = new CCFadeOutUpTiles();
     if (pAction.initWithSize(gridSize, time))
     {
         return pAction;
     }
     return null;
 }
示例#3
0
        public static new CCFadeOutUpTiles actionWithSize(ccGridSize gridSize, float time)
        {
            CCFadeOutUpTiles cCFadeOutUpTile = new CCFadeOutUpTiles();

            if (cCFadeOutUpTile.initWithSize(gridSize, time))
            {
                return(cCFadeOutUpTile);
            }
            return(null);
        }
示例#4
0
        /// <summary>
        /// creates the action with the grid size and the duration
        /// </summary>
        public static CCFadeOutUpTiles actionWithSize(ccGridSize gridSize, float time)
        {
            CCFadeOutUpTiles pAction = new CCFadeOutUpTiles();

            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 CCFadeOutUpTiles actionWithSize(ccGridSize gridSize, float time)
        {
            CCFadeOutUpTiles pAction = new CCFadeOutUpTiles();

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

            return pAction;
        }
示例#6
0
 public override CCActionInterval actionWithSize(ccGridSize size)
 {
     return(CCFadeOutUpTiles.actionWithSize(size, m_fDuration));
 }
示例#7
0
 /// <summary>
 /// creates the action with the grid size and the duration 
 /// </summary>
 public static new CCFadeOutUpTiles Create(CCGridSize gridSize, float time)
 {
     var pAction = new CCFadeOutUpTiles();
     pAction.InitWithSize(gridSize, time);
     return pAction;
 }