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)); }
/// <summary> /// creates the action with the grid size and the duration /// </summary> public new static CCFadeOutDownTiles actionWithSize(ccGridSize gridSize, float time) { CCFadeOutDownTiles pAction = new CCFadeOutDownTiles(); if (pAction.initWithSize(gridSize, time)) { return pAction; } return null; }
public static new CCFadeOutDownTiles actionWithSize(ccGridSize gridSize, float time) { CCFadeOutDownTiles cCFadeOutDownTile = new CCFadeOutDownTiles(); if (cCFadeOutDownTile.initWithSize(gridSize, time)) { return(cCFadeOutDownTile); } return(null); }
/// <summary> /// creates the action with the grid size and the duration /// </summary> public new static CCFadeOutDownTiles actionWithSize(ccGridSize gridSize, float time) { CCFadeOutDownTiles pAction = new CCFadeOutDownTiles(); if (pAction.initWithSize(gridSize, time)) { return(pAction); } return(null); }
/// <summary> /// creates the action with the grid size and the duration /// </summary> /// <param name="?"></param> /// <returns></returns> public static CCFadeOutDownTiles actionWithSize(ccGridSize gridSize, float time) { CCFadeOutDownTiles pAction = new CCFadeOutDownTiles(); if (pAction != null) { if (pAction.initWithSize(gridSize, time)) { //pAction->autorelease(); } else { //CC_SAFE_RELEASE_NULL(pAction); } } return pAction; }
public override CCActionInterval actionWithSize(ccGridSize size) { return(CCFadeOutDownTiles.actionWithSize(size, m_fDuration)); }
/// <summary> /// creates the action with the grid size and the duration /// </summary> public static new CCFadeOutDownTiles Create(CCGridSize gridSize, float time) { var pAction = new CCFadeOutDownTiles(); pAction.InitWithSize(gridSize, time); return pAction; }