CCJumpTiles3D
CCJumpTiles3D
Cocos2DInheritance: System.Object → Cocos2D.CCAction → Cocos2D.CCFiniteTimeAction → Cocos2D.CCActionInterval → Cocos2D.CCGridAction → Cocos2D.CCTiledGrid3DAction
Implements: Cocos2D.ICCCopyable
Constructors
CCJumpTiles3D()
CCJumpTiles3D()()
CCJumpTiles3D(float, CCGridSize, int, float)
CCJumpTiles3D(float, CCGridSize, int, float)(System.Single duration, Cocos2D.CCGridSize gridSize, System.Int32 numberOfJumps, System.Single amplitude)
Parameters:
duration
(System.Single)gridSize
(Cocos2D.CCGridSize)numberOfJumps
(System.Int32)amplitude
(System.Single)Fields
m_fAmplitude(System.Single)
m_fAmplitudeRate(System.Single)
m_nJumps(System.Int32)
Properties
Amplitude(System.Single)
amplitude of the sin
AmplitudeRate(System.Single)
amplitude rate
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
InitWithDuration(float, CCGridSize, int, float)
System.Boolean InitWithDuration(float, CCGridSize, int, float)(System.Single duration, Cocos2D.CCGridSize gridSize, System.Int32 numberOfJumps, System.Single amplitude)
initializes the action with the number of jumps, the sin amplitude, the grid size and the duration
Parameters:
duration
(System.Single)gridSize
(Cocos2D.CCGridSize)numberOfJumps
(System.Int32)amplitude
(System.Single)Returns:
System.Boolean
Example
Update(float)
Update(float)(System.Single time)
Parameters:
time
(System.Single)Example