axmol/tools/tolua++/CCActionGrid.pkg

71 lines
1.7 KiB
Plaintext

class CCGridAction : public CCActionInterval
{
CCObject* copyWithZone(CCZone* pZone);
CCActionInterval* reverse(void);
CCGridBase* getGrid(void);
static CCGridAction* create(ccGridSize gridSize, float duration);
};
class CCAccelDeccelAmplitude : public CCActionInterval
{
CCActionInterval* reverse(void);
float getRate(void);
void setRate(float fRate);
static CCAccelDeccelAmplitude* create(CCAction *pAction, float duration);
};
class CCGrid3DAction : public CCGridAction
{
virtual CCGridBase* getGrid(void);
ccVertex3F vertex(const ccGridSize& pos);
ccVertex3F originalVertex(const ccGridSize& pos);
void setVertex(const ccGridSize& pos, const ccVertex3F& vertex);
//static CCGrid3DAction* create(const ccGridSize& gridSize, float duration);
};
class CCTiledGrid3DAction : public CCGridAction
{
ccQuad3 tile(ccGridSize pos);
ccQuad3 originalTile(ccGridSize pos);
void setTile(ccGridSize pos, ccQuad3 coords);
CCGridBase* getGrid(void);
//static CCTiledGrid3DAction* create(ccGridSize gridSize, float duration);
};
class CCAccelAmplitude : public CCActionInterval
{
CCActionInterval* reverse(void);
float getRate(void);
void setRate(float fRate);
static CCAccelAmplitude* create(CCAction *pAction, float duration);
};
class CCDeccelAmplitude : public CCActionInterval
{
CCActionInterval* reverse(void);
float getRate(void);
void setRate(float fRate);
static CCDeccelAmplitude* create(CCAction *pAction, float duration);
};
class CCStopGrid : public CCActionInstant
{
static CCStopGrid* create(void);
};
class CCReuseGrid : public CCActionInstant
{
static CCReuseGrid* create(int times);
};