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)); }
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))); }
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); }