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
|
|
|
{
|
2012-08-10 18:14:04 +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
|
|
|
|
{
|
2012-08-10 18:14:04 +08:00
|
|
|
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
|
|
|
|
2012-06-15 11:46:51 +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
|
|
|
|
{
|
2012-08-10 18:14:04 +08:00
|
|
|
virtual CCGridBase* getGrid(void);
|
2013-07-08 11:34:31 +08:00
|
|
|
void setVertex(const CCPoint& pos, const Vertex3F& vertex);
|
2013-07-18 23:27:07 +08:00
|
|
|
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);
|
2013-07-18 23:27:07 +08:00
|
|
|
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
|
|
|
|
{
|
2012-08-10 18:14:04 +08:00
|
|
|
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
|
|
|
|
2012-06-15 11:46:51 +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
|
|
|
|
{
|
2012-08-10 18:14:04 +08:00
|
|
|
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
|
|
|
|
2012-06-15 11:46:51 +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
|
|
|
};
|