axmol/tools/tolua++/CCActionGrid.pkg

66 lines
1.6 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);
2013-07-08 11:34:31 +08:00
void setVertex(const CCPoint& pos, const Vertex3F& vertex);
Vertex3F getVertex(const CCPoint& position);
Vertex3F getOriginalVertex(const CCPoint& position);
2012-08-06 16:02:49 +08:00
};
class CCTiledGrid3DAction : public CCGridAction
{
2013-07-08 11:34:31 +08:00
void setTile(CCPoint pos, Quad3 coords);
2012-08-06 16:02:49 +08:00
CCGridBase* getGrid(void);
Quad3 getTile(const CCPoint& position);
Quad3 getOriginalTile(const CCPoint& position);
2012-08-06 16:02:49 +08:00
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
};