cocos2d-iphone  2.1
Improved Cocos2D API Reference (iOS version) for www.kobold2d.com developers
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Defines
CCShuffleTiles Class Reference

#import <CCActionTiledGrid.h>

+ Inheritance diagram for CCShuffleTiles:
+ Collaboration diagram for CCShuffleTiles:

List of all members.

Public Member Functions

(id) - initWithDuration:size:seed:
(id) - initWithSeed:grid:duration:

Static Public Member Functions

(id) + actionWithDuration:size:seed:
(id) + actionWithSeed:grid:duration:

Protected Attributes

unsigned _seed
NSUInteger _tilesCount
NSUInteger * _tilesOrder
void * _tiles

Detailed Description

CCShuffleTiles action Shuffle the tiles in random order


Member Function Documentation

+ (id) actionWithDuration: (ccTime duration
size: (CGSize)  gridSize
seed: (unsigned)  seed 

creates the action with a random seed, the grid size and the duration

- (id) initWithDuration: (ccTime duration
size: (CGSize)  gridSize
seed: (unsigned)  seed 

initializes the action with a random seed, the grid size and the duration


The documentation for this class was generated from the following file: