2011-06-14 14:31:25 +08:00
|
|
|
|
2012-02-02 14:26:38 +08:00
|
|
|
class CCShakyTiles3D : public CCTiledGrid3DAction
|
2011-06-14 14:31:25 +08:00
|
|
|
{
|
2012-08-10 18:14:04 +08:00
|
|
|
CCObject* copyWithZone(CCZone* pZone);
|
|
|
|
|
2012-06-15 11:46:51 +08:00
|
|
|
static CCShakyTiles3D* create(int nRange, bool bShakeZ, ccGridSize gridSize, float duration);
|
2012-02-02 14:26:38 +08:00
|
|
|
};
|
2011-06-14 14:31:25 +08:00
|
|
|
|
2012-02-02 14:26:38 +08:00
|
|
|
class CCShatteredTiles3D : public CCTiledGrid3DAction
|
|
|
|
{
|
2012-08-10 18:14:04 +08:00
|
|
|
CCObject* copyWithZone(CCZone* pZone);
|
|
|
|
|
2012-06-15 11:46:51 +08:00
|
|
|
static CCShatteredTiles3D* create(int nRange, bool bShatterZ, ccGridSize gridSize, float duration);
|
2012-02-02 14:26:38 +08:00
|
|
|
};
|
2011-06-14 14:31:25 +08:00
|
|
|
|
2012-02-02 14:26:38 +08:00
|
|
|
class CCShuffleTiles : public CCTiledGrid3DAction
|
|
|
|
{
|
2012-08-10 18:14:04 +08:00
|
|
|
CCObject* copyWithZone(CCZone* pZone);
|
|
|
|
|
2012-02-02 14:26:38 +08:00
|
|
|
void shuffle(int *pArray, int nLen);
|
|
|
|
ccGridSize getDelta(ccGridSize pos);
|
|
|
|
void placeTile(ccGridSize pos, Tile *t);
|
2011-06-14 14:31:25 +08:00
|
|
|
|
2012-06-15 11:46:51 +08:00
|
|
|
static CCShuffleTiles* create(int s, ccGridSize gridSize, float duration);
|
2012-02-02 14:26:38 +08:00
|
|
|
};
|
2011-06-14 14:31:25 +08:00
|
|
|
|
2012-02-02 14:26:38 +08:00
|
|
|
class CCFadeOutTRTiles : public CCTiledGrid3DAction
|
|
|
|
{
|
|
|
|
void turnOnTile(ccGridSize pos);
|
|
|
|
void turnOffTile(ccGridSize pos);
|
|
|
|
void transformTile(ccGridSize pos, float distance);
|
2011-06-14 14:31:25 +08:00
|
|
|
|
2012-06-15 11:46:51 +08:00
|
|
|
static CCFadeOutTRTiles* create(ccGridSize gridSize, float time);
|
2012-02-02 14:26:38 +08:00
|
|
|
};
|
2011-06-14 14:31:25 +08:00
|
|
|
|
2012-02-02 14:26:38 +08:00
|
|
|
class CCFadeOutBLTiles : public CCFadeOutTRTiles
|
|
|
|
{
|
2012-06-15 11:46:51 +08:00
|
|
|
static CCFadeOutBLTiles* create(ccGridSize gridSize, float time);
|
2012-02-02 14:26:38 +08:00
|
|
|
};
|
2011-06-14 14:31:25 +08:00
|
|
|
|
2012-02-02 14:26:38 +08:00
|
|
|
class CCFadeOutUpTiles : public CCFadeOutTRTiles
|
|
|
|
{
|
2012-08-10 18:14:04 +08:00
|
|
|
void transformTile(ccGridSize pos, float distance);
|
|
|
|
|
2012-06-15 11:46:51 +08:00
|
|
|
static CCFadeOutUpTiles* create(ccGridSize gridSize, float time);
|
2012-02-02 14:26:38 +08:00
|
|
|
};
|
2011-06-14 14:31:25 +08:00
|
|
|
|
2012-02-02 14:26:38 +08:00
|
|
|
class CCFadeOutDownTiles : public CCFadeOutUpTiles
|
|
|
|
{
|
2012-06-15 11:46:51 +08:00
|
|
|
static CCFadeOutDownTiles* create(ccGridSize gridSize, float time);
|
2012-02-02 14:26:38 +08:00
|
|
|
};
|
2011-06-14 14:31:25 +08:00
|
|
|
|
2012-02-02 14:26:38 +08:00
|
|
|
class CCTurnOffTiles : public CCTiledGrid3DAction
|
|
|
|
{
|
2012-08-10 18:14:04 +08:00
|
|
|
CCObject* copyWithZone(CCZone* pZone);
|
|
|
|
|
2012-02-02 14:26:38 +08:00
|
|
|
void shuffle(int *pArray, int nLen);
|
|
|
|
void turnOnTile(ccGridSize pos);
|
|
|
|
void turnOffTile(ccGridSize pos);
|
2011-06-14 14:31:25 +08:00
|
|
|
|
2012-06-15 11:46:51 +08:00
|
|
|
static CCTurnOffTiles* create(ccGridSize size, float d);
|
|
|
|
static CCTurnOffTiles* create(int s, ccGridSize gridSize, float duration);
|
2012-02-02 14:26:38 +08:00
|
|
|
};
|
2011-06-14 14:31:25 +08:00
|
|
|
|
2012-02-02 14:26:38 +08:00
|
|
|
class CCWavesTiles3D : public CCTiledGrid3DAction
|
|
|
|
{
|
2012-08-10 18:14:04 +08:00
|
|
|
CCObject* copyWithZone(CCZone* pZone);
|
|
|
|
|
2012-02-02 14:26:38 +08:00
|
|
|
float getAmplitude(void);
|
|
|
|
void setAmplitude(float fAmplitude);
|
|
|
|
float getAmplitudeRate(void);
|
|
|
|
void setAmplitudeRate(float fAmplitudeRate);
|
2011-06-14 14:31:25 +08:00
|
|
|
|
2012-06-15 11:46:51 +08:00
|
|
|
static CCWavesTiles3D* create(int wav, float amp, ccGridSize gridSize, float duration);
|
2012-02-02 14:26:38 +08:00
|
|
|
};
|
2011-06-14 14:31:25 +08:00
|
|
|
|
2012-02-02 14:26:38 +08:00
|
|
|
class CCJumpTiles3D : public CCTiledGrid3DAction
|
|
|
|
{
|
2012-08-10 18:14:04 +08:00
|
|
|
CCObject* copyWithZone(CCZone* pZone);
|
|
|
|
|
2012-02-02 14:26:38 +08:00
|
|
|
float getAmplitude(void);
|
|
|
|
void setAmplitude(float fAmplitude);
|
|
|
|
float getAmplitudeRate(void);
|
|
|
|
void setAmplitudeRate(float fAmplitudeRate);
|
2011-06-14 14:31:25 +08:00
|
|
|
|
2012-06-15 11:46:51 +08:00
|
|
|
static CCJumpTiles3D* create(int j, float amp, ccGridSize gridSize, float duration);
|
2012-02-02 14:26:38 +08:00
|
|
|
};
|
2011-06-14 14:31:25 +08:00
|
|
|
|
2012-02-02 14:26:38 +08:00
|
|
|
class CCSplitRows : public CCTiledGrid3DAction
|
|
|
|
{
|
2012-08-10 18:14:04 +08:00
|
|
|
CCObject* copyWithZone(CCZone* pZone);
|
|
|
|
|
2012-06-15 11:46:51 +08:00
|
|
|
static CCSplitRows* create(int nRows, float duration);
|
2012-02-02 14:26:38 +08:00
|
|
|
};
|
2011-06-14 14:31:25 +08:00
|
|
|
|
2012-02-02 14:26:38 +08:00
|
|
|
class CCSplitCols : public CCTiledGrid3DAction
|
|
|
|
{
|
2012-08-10 18:14:04 +08:00
|
|
|
CCObject* copyWithZone(CCZone* pZone);
|
|
|
|
|
2012-06-15 11:46:51 +08:00
|
|
|
static CCSplitCols* create(int nCols, float duration);
|
2012-02-02 14:26:38 +08:00
|
|
|
};
|