예제 #1
0
        public static new CCActionInterval actionWithDuration(float t)
        {
            CCFadeOutBLTiles fadeout = new CCFadeOutBLTiles(new CCGridSize(16, 12), t);
            CCFiniteTimeAction back = fadeout.Reverse();
            CCDelayTime delay = new CCDelayTime (0.5f);

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

            return null;
        }
예제 #3
0
        public static new CCFadeOutBLTiles actionWithSize(ccGridSize gridSize, float time)
        {
            CCFadeOutBLTiles cCFadeOutBLTile = new CCFadeOutBLTiles();

            if (cCFadeOutBLTile.initWithSize(gridSize, time))
            {
                return(cCFadeOutBLTile);
            }
            return(null);
        }
        /// <summary>
        /// creates the action with the grid size and the duration
        /// </summary>
        public static CCFadeOutBLTiles actionWithSize(ccGridSize gridSize, float time)
        {
            CCFadeOutBLTiles pAction = new CCFadeOutBLTiles();

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

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

            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(CCFadeOutBLTiles.actionWithSize(size, this.m_fDuration));
 }
예제 #7
0
 /// <summary>
 /// creates the action with the grid size and the duration
 /// </summary>
 public static new CCFadeOutBLTiles Create(CCGridSize gridSize, float time)
 {
     var pAction = new CCFadeOutBLTiles();
     pAction.InitWithSize(gridSize, time);
     return pAction;
 }