Skip to main content

CCShuffleTiles

CCShuffleTiles

Cocos2D

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

Implements: Cocos2D.ICCCopyable

Constructors

CCShuffleTiles()

CCShuffleTiles()()

CCShuffleTiles(CCGridSize, float, int)

CCShuffleTiles(CCGridSize, float, int)(Cocos2D.CCGridSize gridSize, System.Single duration, System.Int32 seed)
Parameters:
gridSize (Cocos2D.CCGridSize)
duration (System.Single)
seed (System.Int32)

Fields

m_nSeed(System.Int32)
m_nTilesCount(System.Int32)
m_pTiles(Cocos2D.CCTile[])
m_pTilesOrder(System.Int32[])

Methods

Copy(ICCCopyable)

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

GetDelta(CCGridSize)

Cocos2D.CCGridSize GetDelta(CCGridSize)(Cocos2D.CCGridSize pos)
Parameters:
pos (Cocos2D.CCGridSize)
Returns:
Cocos2D.CCGridSize

InitWithDuration(float, CCGridSize, int)

System.Boolean InitWithDuration(float, CCGridSize, int)(System.Single duration, Cocos2D.CCGridSize gridSize, System.Int32 seed)
Parameters:
duration (System.Single)
gridSize (Cocos2D.CCGridSize)
seed (System.Int32)
Returns:
System.Boolean

PlaceTile(CCGridSize, CCTile)

PlaceTile(CCGridSize, CCTile)(Cocos2D.CCGridSize pos, Cocos2D.CCTile t)
Parameters:
pos (Cocos2D.CCGridSize)
t (Cocos2D.CCTile)

Shuffle(ref int[], int)

Shuffle(ref int[], int)(System.Int32[] pArray, System.Int32 nLen)
Parameters:
pArray (System.Int32[])
nLen (System.Int32)

StartWithTarget(CCNode)

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

Update(float)

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