public static CCWavesTiles3D actionWithWaves(int wav, float amp, ccGridSize gridSize, float duration) { CCWavesTiles3D cCWavesTiles3D = new CCWavesTiles3D(); if (cCWavesTiles3D.initWithWaves(wav, amp, gridSize, duration)) { return(cCWavesTiles3D); } return(null); }
/// <summary> /// creates the action with a number of waves, the waves amplitude, the grid size and the duration /// </summary> public static CCWavesTiles3D actionWithWaves(int wav, float amp, ccGridSize gridSize, float duration) { CCWavesTiles3D pAction = new CCWavesTiles3D(); if (pAction.initWithWaves(wav, amp, gridSize, duration)) { return pAction; } return null; }
/// <summary> /// creates the action with a number of waves, the waves amplitude, the grid size and the duration /// </summary> /// <param name="wav"></param> /// <param name="amp"></param> /// <param name="?"></param> /// <returns></returns> public static CCWavesTiles3D actionWithWaves(int wav, float amp, ccGridSize gridSize, float duration) { CCWavesTiles3D pAction = new CCWavesTiles3D(); if (pAction != null) { if (pAction.initWithWaves(wav, amp, gridSize, duration)) { //pAction->autorelease(); } else { //CC_SAFE_RELEASE_NULL(pAction); } } return pAction; }