示例#1
0
        public static CCFiniteTimeAction ActionWithDuration(float t)
        {
            var fadeout = new CCFadeOutUpTiles(t, new CCGridSize(16, 12));
            var back    = fadeout.Reverse();
            var delay   = new CCDelayTime(0.5f);

            return(new CCSequence(fadeout, delay, back));
        }
示例#2
0
        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)));
        }
        public new static CCActionInterval actionWithDuration(float t)
        {
            CCFadeOutUpTiles   fadeout = CCFadeOutUpTiles.actionWithSize(new ccGridSize(16, 12), t);
            CCFiniteTimeAction back    = fadeout.reverse();
            CCDelayTime        delay   = CCDelayTime.actionWithDuration(0.5f);

            return((CCActionInterval)(CCSequence.actions(fadeout, delay, back)));
        }
示例#4
0
        public static new CCSequence ActionWithDuration(ccTime t)
        {
            var fadeout = new CCFadeOutUpTiles (new ccGridSize (16, 12), t);
            var back = fadeout.Reverse ();
            var delay = new CCDelayTime (0.5f);

            return (CCSequence)CCSequence.Actions (fadeout, delay, back);
        }