Ejemplo n.º 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));
        }
Ejemplo n.º 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)));
        }
Ejemplo n.º 3
0
        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)));
        }
Ejemplo n.º 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);
        }