CCWaves
CCWaves
Cocos2DInheritance: System.Object → Cocos2D.CCAction → Cocos2D.CCFiniteTimeAction → Cocos2D.CCActionInterval → Cocos2D.CCGridAction → Cocos2D.CCGrid3DAction
Implements: Cocos2D.ICCCopyable
Constructors
CCWaves()
CCWaves()()CCWaves(float, CCGridSize, int, float, bool, bool)
CCWaves(float, CCGridSize, int, float, bool, bool)(System.Single duration, Cocos2D.CCGridSize gridSize, System.Int32 waves, System.Single amplitude, System.Boolean horizontal, System.Boolean vertical)Parameters:
duration (System.Single)gridSize (Cocos2D.CCGridSize)waves (System.Int32)amplitude (System.Single)horizontal (System.Boolean)vertical (System.Boolean)Fields
m_bHorizontal(System.Boolean)
m_bVertical(System.Boolean)
m_fAmplitude(System.Single)
m_fAmplitudeRate(System.Single)
m_nWaves(System.Int32)
Properties
Amplitude(System.Single)
AmplitudeRate(System.Single)
Methods
Copy(ICCCopyable)
System.Object Copy(ICCCopyable)(Cocos2D.ICCCopyable pZone)Parameters:
pZone (Cocos2D.ICCCopyable)Returns:
System.ObjectExample
InitWithDuration(float, CCGridSize, int, float, bool, bool)
System.Boolean InitWithDuration(float, CCGridSize, int, float, bool, bool)(System.Single duration, Cocos2D.CCGridSize gridSize, System.Int32 waves, System.Single amplitude, System.Boolean horizontal, System.Boolean vertical)Parameters:
duration (System.Single)gridSize (Cocos2D.CCGridSize)waves (System.Int32)amplitude (System.Single)horizontal (System.Boolean)vertical (System.Boolean)Returns:
System.BooleanUpdate(float)
Update(float)(System.Single time)Parameters:
time (System.Single)Example