public static CCActionInterval actionWithDuration(float t) { CCFadeOutDownTiles fadeout = new CCFadeOutDownTiles(new CCGridSize(16, 12), t); CCFiniteTimeAction back = fadeout.Reverse(); CCDelayTime delay = new CCDelayTime(0.5f); return((CCActionInterval)(CCSequence.FromActions(fadeout, delay, back))); }
public static CCFiniteTimeAction ActionWithDuration(float t) { var fadeout = new CCFadeOutDownTiles(t, new CCGridSize(16, 12)); var back = fadeout.Reverse(); var delay = new CCDelayTime(0.5f); var actions = new CCFiniteTimeAction[] { fadeout, delay, back }; return(new CCSequence(fadeout, delay, back)); }
public static new CCSequence ActionWithDuration(ccTime t) { var fadeout = new CCFadeOutDownTiles (new ccGridSize (16, 12), t); var back = fadeout.Reverse (); var delay = new CCDelayTime (0.5f); return (CCSequence)CCSequence.Actions (fadeout, delay, back); }