axmol/tools/tolua++/CCActionTiledGrid.pkg

102 lines
2.8 KiB
Plaintext
Raw Normal View History

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
{
CCObject* copyWithZone(CCZone* pZone);
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
{
CCObject* copyWithZone(CCZone* pZone);
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
{
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
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
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
{
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
{
void transformTile(ccGridSize pos, float distance);
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
{
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
{
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
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
{
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
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
{
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
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
{
CCObject* copyWithZone(CCZone* pZone);
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
{
CCObject* copyWithZone(CCZone* pZone);
static CCSplitCols* create(int nCols, float duration);
2012-02-02 14:26:38 +08:00
};