axmol/tools/tolua++/CCActionGrid3D.pkg

151 lines
3.9 KiB
Plaintext
Raw Normal View History

2011-06-14 14:31:25 +08:00
#include "CCActionGrid.h"
namespace cocos2d
{
class CCWaves3D : public CCGrid3DAction
{
float getAmplitude(void);
void setAmplitude(float fAmplitude);
float getAmplitudeRate(void);
void setAmplitudeRate(float fAmplitudeRate);
bool initWithWaves(int wav, float amp, ccGridSize gridSize, ccTime duration);
CCObject* copyWithZone(CCZone* pZone);
void update(ccTime time);
static CCWaves3D* actionWithWaves(int wav, float amp, ccGridSize gridSize, ccTime duration);
};
class CCFlipX3D : public CCGrid3DAction
{
bool initWithDuration(ccTime duration);
bool initWithSize(ccGridSize gridSize, ccTime duration);
CCObject* copyWithZone(CCZone* pZone);
void update(ccTime time);
static CCFlipX3D* actionWithDuration(ccTime duration);
};
class CCFlipY3D : public CCFlipX3D
{
void update(ccTime time);
CCObject* copyWithZone(CCZone* pZone);
static CCFlipY3D* actionWithDuration(ccTime duration);
};
class CCLens3D : public CCGrid3DAction
{
float getLensEffect(void);
void setLensEffect(float fLensEffect);
CCPoint getPosition(void);
void setPosition(CCPoint position);
bool initWithPosition(CCPoint pos, float r, ccGridSize gridSize, ccTime duration);
CCObject* copyWithZone(CCZone* pZone);
void update(ccTime time);
static CCLens3D* actionWithPosition(CCPoint pos, float r, ccGridSize gridSize, ccTime duration);
};
/** @brief CCRipple3D action */
class CCRipple3D : public CCGrid3DAction
{
CCPoint getPosition(void);
void setPosition(CCPoint position);
float getAmplitude(void);
void setAmplitude(float fAmplitude);
float getAmplitudeRate(void);
void setAmplitudeRate(float fAmplitudeRate);
bool initWithPosition(CCPoint pos, float r, int wav, float amp, ccGridSize gridSize, ccTime duration);
CCObject* copyWithZone(CCZone* pZone);
void update(ccTime time);
static CCRipple3D* actionWithPosition(CCPoint pos, float r, int wav, float amp, ccGridSize gridSize, ccTime duration);
};
class CCShaky3D : public CCGrid3DAction
{
bool initWithRange(int range, bool shakeZ, ccGridSize gridSize, ccTime duration);
virtual CCObject* copyWithZone(CCZone* pZone);
virtual void update(ccTime time);
static CCShaky3D* actionWithRange(int range, bool shakeZ, ccGridSize gridSize, ccTime duration);
};
/** @brief CCLiquid action */
class CCLiquid : public CCGrid3DAction
{
float getAmplitude(void);
void setAmplitude(float fAmplitude);
float getAmplitudeRate(void);
void setAmplitudeRate(float fAmplitudeRate);
bool initWithWaves(int wav, float amp, ccGridSize gridSize, ccTime duration);
CCObject* copyWithZone(CCZone* pZone);
void update(ccTime time);
static CCLiquid* actionWithWaves(int wav, float amp, ccGridSize gridSize, ccTime duration);
};
/** @brief CCWaves action */
class CCWaves : public CCGrid3DAction
{
float getAmplitude(void);
void setAmplitude(float fAmplitude);
float getAmplitudeRate(void);
void setAmplitudeRate(float fAmplitudeRate);
bool initWithWaves(int wav, float amp, bool h, bool v, ccGridSize gridSize, ccTime duration);
CCObject* copyWithZone(CCZone* pZone);
void update(ccTime time);
static CCWaves* actionWithWaves(int wav, float amp, bool h, bool v, ccGridSize gridSize,ccTime duration);
};
class CCTwirl : public CCGrid3DAction
{
CCPoint getPosition(void);
void setPosition(CCPoint position);
float getAmplitude(void);
void setAmplitude(float fAmplitude);
float getAmplitudeRate(void);
void setAmplitudeRate(float fAmplitudeRate);
bool initWithPosition(CCPoint pos, int t, float amp, ccGridSize gridSize,ccTime duration);
CCObject* copyWithZone(CCZone* pZone);
void update(ccTime time);
static CCTwirl* actionWithPosition(CCPoint pos, int t, float amp, ccGridSize gridSize,ccTime duration);
};
}