axmol/tools/tolua++/CCActionTiledGrid.pkg

86 lines
2.5 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
{
static CCShakyTiles3D* create(float duration, CCSize gridSize, int nRange, bool bShakeZ);
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-12-27 11:47:49 +08:00
static CCShatteredTiles3D* create(float duration, CCSize gridSize, int nRange, bool bShatterZ);
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-12-27 11:47:49 +08:00
void shuffle(unsigned int *pArray, int nLen);
CCSize getDelta(CCSize pos);
void placeTile(CCPoint pos, Tile *t);
2011-06-14 14:31:25 +08:00
2012-12-27 11:47:49 +08:00
static CCShuffleTiles* create(float duration, CCSize gridSize, unsigned int seed);
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
{
2012-12-27 11:47:49 +08:00
void turnOnTile(CCPoint pos);
void turnOffTile(CCPoint pos);
void transformTile(CCPoint pos, float distance);
2011-06-14 14:31:25 +08:00
2012-12-27 11:47:49 +08:00
static CCFadeOutTRTiles* create(float duration, CCSize gridSize);
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-12-27 11:47:49 +08:00
static CCFadeOutBLTiles* create(float duration, CCSize gridSize);
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-12-27 11:47:49 +08:00
void transformTile(CCPoint pos, float distance);
2012-12-27 11:47:49 +08:00
static CCFadeOutUpTiles* create(float duration, CCSize gridSize);
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-12-27 11:47:49 +08:00
static CCFadeOutDownTiles* create(float duration, CCSize gridSize);
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-12-27 11:47:49 +08:00
void shuffle(unsigned int *pArray, int nLen);
void turnOnTile(CCPoint pos);
void turnOffTile(CCPoint pos);
2011-06-14 14:31:25 +08:00
2012-12-27 11:47:49 +08:00
static CCTurnOffTiles* create(float duration, CCSize gridSize);
static CCTurnOffTiles* create(float duration, CCSize gridSize, unsigned int seed);
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
{
float getAmplitude(void);
void setAmplitude(float fAmplitude);
float getAmplitudeRate(void);
void setAmplitudeRate(float fAmplitudeRate);
2011-06-14 14:31:25 +08:00
2012-12-27 11:47:49 +08:00
static CCWavesTiles3D* create(float duration, CCSize gridSize, unsigned int waves, float amplitude);
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
{
float getAmplitude(void);
void setAmplitude(float fAmplitude);
float getAmplitudeRate(void);
void setAmplitudeRate(float fAmplitudeRate);
2011-06-14 14:31:25 +08:00
2012-12-27 11:47:49 +08:00
static CCJumpTiles3D* create(float duration, CCSize gridSize, unsigned int numberOfJumps, float amplitude);
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-12-27 11:47:49 +08:00
static CCSplitRows* create(float duration, unsigned int nRows);
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-12-27 11:47:49 +08:00
static CCSplitCols* create(float duration, unsigned int nCols);
2012-02-02 14:26:38 +08:00
};