Exemplo n.º 1
0
 /// <summary>
 /// Removes an action from the running action list
 /// </summary>
 public void stopAction(CCAction action)
 {
     CCActionManager.sharedManager().removeAction(action);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Executes an action, and returns the action that is executed.
 /// The node becomes the action's target.
 /// @warning Starting from v0.8 actions don't retain their target anymore.
 /// @since v0.7.1
 /// @return
 /// </summary>
 /// <returns>An Action pointer</returns>
 public CCAction runAction(CCAction action)
 {
     Debug.Assert(action != null, "Argument must be non-nil");
     CCActionManager.sharedManager().addAction(action, this, !m_bIsRunning);
     return(action);
 }