CCAnimate
CCAnimate
Cocos2DInheritance: System.Object → Cocos2D.CCAction → Cocos2D.CCFiniteTimeAction → Cocos2D.CCActionInterval
Implements: Cocos2D.ICCCopyable
Constructors
CCAnimate(CCAnimate)
CCAnimate(CCAnimate)(Cocos2D.CCAnimate animate)
Parameters:
animate
(Cocos2D.CCAnimate)CCAnimate(CCAnimation)
CCAnimate(CCAnimation)(Cocos2D.CCAnimation pAnimation)
Parameters:
pAnimation
(Cocos2D.CCAnimation)Fields
m_nNextFrame(System.Int32)
m_pAnimation(Cocos2D.CCAnimation)
m_pOrigFrame(Cocos2D.CCSpriteFrame)
m_pSplitTimes(System.Collections.Generic.ListSystem.Single)
Methods
Copy(ICCCopyable)
System.Object Copy(ICCCopyable)(Cocos2D.ICCCopyable pZone)
Copy/Duplicatae protocol for making a self copy of this object instance. If null is given as the parameter then selfie of this instance is returned. Otherwise, the state of this instance is copied to the given target.
Parameters:
pZone
(Cocos2D.ICCCopyable)Returns:
System.Object
Example
InitWithAnimation(CCAnimation)
System.Boolean InitWithAnimation(CCAnimation)(Cocos2D.CCAnimation pAnimation)
Parameters:
pAnimation
(Cocos2D.CCAnimation)Returns:
System.Boolean
Reverse()
Cocos2D.CCFiniteTimeAction Reverse()()
Does nothing by default.
Returns:
Cocos2D.CCFiniteTimeAction
Example
StartWithTarget(CCNode)
StartWithTarget(CCNode)(Cocos2D.CCNode target)
Parameters:
target
(Cocos2D.CCNode)Example
Stop()
Stop()()
Example
Update(float)
Update(float)(System.Single t)
Parameters:
t
(System.Single)Example