public CCActionInterval actionWithSize(ccGridSize vector) { if (!this.m_bBack) { return(CCPageTurn3D.actionWithSize(vector, this.m_fDuration)); } return(CCReverseTime.actionWithAction(CCPageTurn3D.actionWithSize(vector, this.m_fDuration))); }
public static new CCPageTurn3D actionWithSize(ccGridSize gridSize, float time) { CCPageTurn3D cCPageTurn3D = new CCPageTurn3D(); if (cCPageTurn3D.initWithSize(gridSize, time)) { return(cCPageTurn3D); } return(null); }
/// <summary> /// create the action /// </summary> public static CCPageTurn3D actionWithSize(ccGridSize gridSize, float time) { CCPageTurn3D pAction = new CCPageTurn3D(); if (pAction.initWithSize(gridSize, time)) { return(pAction); } return(null); }
/// <summary> /// create the action /// </summary> public static CCPageTurn3D actionWithSize(ccGridSize gridSize, float time) { CCPageTurn3D pAction = new CCPageTurn3D(); if (pAction.initWithSize(gridSize, time)) { return pAction; } return null; }
public CCActionInterval actionWithSize(ccGridSize vector) { if (m_bBack) { // Get hold of the PageTurn3DAction return CCReverseTime.actionWithAction ( CCPageTurn3D.actionWithSize(vector, m_fDuration) ); } else { // Get hold of the PageTurn3DAction return CCPageTurn3D.actionWithSize(vector, m_fDuration); } }
/** create the action */ public static CCPageTurn3D actionWithSize(ccGridSize gridSize, float time) { CCPageTurn3D pAction = new CCPageTurn3D(); if (pAction != null) { if (pAction.initWithSize(gridSize, time)) { //pAction->autorelease(); } else { //CC_SAFE_RELEASE_NULL(pAction); } } return pAction; }
public static new CCPageTurn3D Create(CCGridSize gridSize, float time) { var pAction = new CCPageTurn3D(); pAction.InitWithSize(gridSize, time); return pAction; }