axmol/tools/tolua++/CCActionGrid.pkg

66 lines
1.5 KiB
Plaintext
Raw Normal View History

2011-06-14 14:31:25 +08:00
2012-02-02 14:26:38 +08:00
class CCGridAction : public CCActionInterval
2011-06-14 14:31:25 +08:00
{
CCActionInterval* reverse(void);
2012-02-02 14:26:38 +08:00
CCGridBase* getGrid(void);
};
2011-06-14 14:31:25 +08:00
2012-02-02 14:26:38 +08:00
class CCAccelDeccelAmplitude : public CCActionInterval
{
CCActionInterval* reverse(void);
2012-02-02 14:26:38 +08:00
float getRate(void);
void setRate(float fRate);
2011-06-14 14:31:25 +08:00
static CCAccelDeccelAmplitude* create(CCAction *pAction, float duration);
2012-02-02 14:26:38 +08:00
};
2011-06-14 14:31:25 +08:00
2012-08-06 16:02:49 +08:00
class CCGrid3DAction : public CCGridAction
{
virtual CCGridBase* getGrid(void);
2012-12-27 11:47:49 +08:00
ccVertex3F vertex(const CCPoint& pos);
ccVertex3F originalVertex(const CCPoint& pos);
void setVertex(const CCPoint& pos, const ccVertex3F& vertex);
2012-08-06 16:02:49 +08:00
};
class CCTiledGrid3DAction : public CCGridAction
{
2012-12-27 11:47:49 +08:00
ccQuad3 tile(CCPoint pos);
ccQuad3 originalTile(CCPoint pos);
void setTile(CCPoint pos, ccQuad3 coords);
2012-08-06 16:02:49 +08:00
CCGridBase* getGrid(void);
2012-12-27 11:47:49 +08:00
//static CCTiledGrid3DAction* create(float duration, const CCSize& gridSize);
2012-08-06 16:02:49 +08:00
};
2012-02-02 14:26:38 +08:00
class CCAccelAmplitude : public CCActionInterval
{
CCActionInterval* reverse(void);
2012-02-02 14:26:38 +08:00
float getRate(void);
void setRate(float fRate);
2011-06-14 14:31:25 +08:00
static CCAccelAmplitude* create(CCAction *pAction, 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 CCDeccelAmplitude : public CCActionInterval
{
CCActionInterval* reverse(void);
2012-02-02 14:26:38 +08:00
float getRate(void);
void setRate(float fRate);
2011-06-14 14:31:25 +08:00
static CCDeccelAmplitude* create(CCAction *pAction, 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 CCStopGrid : public CCActionInstant
{
2012-06-20 11:59:35 +08:00
static CCStopGrid* create(void);
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 CCReuseGrid : public CCActionInstant
{
2012-06-20 11:59:35 +08:00
static CCReuseGrid* create(int times);
2012-02-02 14:26:38 +08:00
};