Skip to main content

CCSwapAction

CCSwapAction

cocos2d.actions.action_intervals

Inheritance: System.Object → Cocos2D.CCAction → Cocos2D.CCFiniteTimeAction → Cocos2D.CCActionInterval → Cocos2D.CCParallel

Implements: Cocos2D.ICCCopyable

Constructors

CCSwapAction(CCSwappableNode, CCSwappableNode, float)

CCSwapAction(CCSwappableNode, CCSwappableNode, float)(cocos2d.misc_nodes.CCSwappableNode firstCard, cocos2d.misc_nodes.CCSwappableNode secondCard, System.Single duration)
Parameters:
firstCard (cocos2d.misc_nodes.CCSwappableNode)
secondCard (cocos2d.misc_nodes.CCSwappableNode)
duration (System.Single)

Methods

StartWithTarget(CCNode)

StartWithTarget(CCNode)(Cocos2D.CCNode target)
Parameters:
target (Cocos2D.CCNode)
Example