Skip to main content

CCProgressTo

CCProgressTo

Cocos2D

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

Implements: Cocos2D.ICCCopyable

Constructors

CCProgressTo()

CCProgressTo()()

CCProgressTo(float, float)

CCProgressTo(float, float)(System.Single duration, System.Single fPercent)
Parameters:
duration (System.Single)
fPercent (System.Single)

Fields

m_fFrom(System.Single)
m_fTo(System.Single)

Methods

Copy(ICCCopyable)

System.Object Copy(ICCCopyable)(Cocos2D.ICCCopyable pZone)
Parameters:
pZone (Cocos2D.ICCCopyable)
Returns:
System.Object
Example

InitWithDuration(float, float)

System.Boolean InitWithDuration(float, float)(System.Single duration, System.Single fPercent)
Parameters:
duration (System.Single)
fPercent (System.Single)
Returns:
System.Boolean

StartWithTarget(CCNode)

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

Update(float)

Update(float)(System.Single time)
Parameters:
time (System.Single)
Example