Skip to main content

CCJumpBy

CCJumpBy

Cocos2D

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

Implements: Cocos2D.ICCCopyable

Constructors

CCJumpBy(CCJumpBy)

CCJumpBy(CCJumpBy)(Cocos2D.CCJumpBy jumpBy)
Parameters:
jumpBy (Cocos2D.CCJumpBy)

CCJumpBy(float, CCPoint, float, uint)

CCJumpBy(float, CCPoint, float, uint)(System.Single duration, Cocos2D.CCPoint position, System.Single height, System.UInt32 jumps)
Parameters:
duration (System.Single)
position (Cocos2D.CCPoint)
height (System.Single)
jumps (System.UInt32)

Fields

m_delta(Cocos2D.CCPoint)
m_height(System.Single)
m_nJumps(System.UInt32)
m_previousPos(Cocos2D.CCPoint)
m_startPosition(Cocos2D.CCPoint)

Methods

Copy(ICCCopyable)

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

InitWithDuration(float, CCPoint, float, uint)

System.Boolean InitWithDuration(float, CCPoint, float, uint)(System.Single duration, Cocos2D.CCPoint position, System.Single height, System.UInt32 jumps)
Parameters:
duration (System.Single)
position (Cocos2D.CCPoint)
height (System.Single)
jumps (System.UInt32)
Returns:
System.Boolean

Reverse()

Cocos2D.CCFiniteTimeAction Reverse()()
Returns:
Cocos2D.CCFiniteTimeAction
Example

StartWithTarget(CCNode)

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

Update(float)

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