CCSplitCols
CCSplitCols
Cocos2DInheritance: System.Object → Cocos2D.CCAction → Cocos2D.CCFiniteTimeAction → Cocos2D.CCActionInterval → Cocos2D.CCGridAction → Cocos2D.CCTiledGrid3DAction
Implements: Cocos2D.ICCCopyable
Constructors
CCSplitCols()
CCSplitCols()()
CCSplitCols(float, int)
CCSplitCols(float, int)(System.Single duration, System.Int32 nCols)
creates the action with the number of columns to split and the duration
Parameters:
duration
(System.Single)nCols
(System.Int32)Example
Fields
m_nCols(System.Int32)
m_winSize(Cocos2D.CCSize)
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, int)
System.Boolean InitWithDuration(float, int)(System.Single duration, System.Int32 nCols)
initializes the action with the number of columns to split and the duration
Parameters:
duration
(System.Single)nCols
(System.Int32)Returns:
System.Boolean
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