2011-06-14 14:31:25 +08:00
|
|
|
|
2012-02-02 14:26:38 +08:00
|
|
|
class CCActionEase : public CCActionInterval
|
|
|
|
{
|
2012-08-10 18:14:04 +08:00
|
|
|
CCObject* copyWithZone(CCZone* pZone);
|
|
|
|
CCActionInterval* reverse(void);
|
|
|
|
|
|
|
|
static CCActionEase* create(CCActionInterval *pAction);
|
2012-02-02 14:26:38 +08:00
|
|
|
};
|
|
|
|
|
2012-08-10 18:14:04 +08:00
|
|
|
class CCEaseRateAction : public CCActionEase
|
2012-02-02 14:26:38 +08:00
|
|
|
{
|
2012-08-10 18:14:04 +08:00
|
|
|
CCObject* copyWithZone(CCZone* pZone);
|
|
|
|
CCActionInterval* reverse(void);
|
|
|
|
|
|
|
|
static CCEaseRateAction* create(CCActionInterval* pAction, float fRate);
|
2012-02-02 14:26:38 +08:00
|
|
|
};
|
|
|
|
|
2012-08-10 18:14:04 +08:00
|
|
|
class CCEaseIn : public CCEaseRateAction
|
2012-02-02 14:26:38 +08:00
|
|
|
{
|
2012-08-10 18:14:04 +08:00
|
|
|
CCObject* copyWithZone(CCZone* pZone);
|
|
|
|
CCActionInterval* reverse(void);
|
|
|
|
|
|
|
|
static CCEaseIn* create(CCActionInterval* pAction, float fRate);
|
2012-02-02 14:26:38 +08:00
|
|
|
};
|
|
|
|
|
2012-08-10 18:14:04 +08:00
|
|
|
class CCEaseOut : public CCEaseRateAction
|
2012-02-02 14:26:38 +08:00
|
|
|
{
|
2012-08-10 18:14:04 +08:00
|
|
|
CCObject* copyWithZone(CCZone* pZone);
|
|
|
|
CCActionInterval* reverse(void);
|
|
|
|
|
|
|
|
static CCEaseOut* create(CCActionInterval* pAction, float fRate);
|
2012-02-02 14:26:38 +08:00
|
|
|
};
|
|
|
|
|
2012-08-10 18:14:04 +08:00
|
|
|
class CCEaseInOut : public CCEaseRateAction
|
2012-02-02 14:26:38 +08:00
|
|
|
{
|
2012-08-10 18:14:04 +08:00
|
|
|
CCObject* copyWithZone(CCZone* pZone);
|
|
|
|
CCActionInterval* reverse(void);
|
|
|
|
|
|
|
|
static CCEaseInOut* create(CCActionInterval* pAction, float fRate);
|
2012-02-02 14:26:38 +08:00
|
|
|
};
|
|
|
|
|
2012-08-10 18:14:04 +08:00
|
|
|
class CCEaseExponentialIn : public CCActionEase
|
2012-02-02 14:26:38 +08:00
|
|
|
{
|
2012-08-10 18:14:04 +08:00
|
|
|
CCObject* copyWithZone(CCZone* pZone);
|
|
|
|
CCActionInterval* reverse(void);
|
|
|
|
|
|
|
|
static CCEaseExponentialIn* create(CCActionInterval* pAction);
|
2012-02-02 14:26:38 +08:00
|
|
|
};
|
|
|
|
|
2012-08-10 18:14:04 +08:00
|
|
|
class CCEaseExponentialOut : public CCActionEase
|
2012-02-02 14:26:38 +08:00
|
|
|
{
|
2012-08-10 18:14:04 +08:00
|
|
|
CCObject* copyWithZone(CCZone* pZone);
|
|
|
|
CCActionInterval* reverse(void);
|
|
|
|
|
|
|
|
static CCEaseExponentialOut* create(CCActionInterval* pAction);
|
2012-02-02 14:26:38 +08:00
|
|
|
};
|
|
|
|
|
2012-08-10 18:14:04 +08:00
|
|
|
class CCEaseExponentialInOut : public CCActionEase
|
2012-02-02 14:26:38 +08:00
|
|
|
{
|
2012-08-10 18:14:04 +08:00
|
|
|
CCObject* copyWithZone(CCZone* pZone);
|
|
|
|
CCActionInterval* reverse(void);
|
|
|
|
|
|
|
|
static CCEaseExponentialInOut* create(CCActionInterval* pAction);
|
2012-02-02 14:26:38 +08:00
|
|
|
};
|
|
|
|
|
2012-08-10 18:14:04 +08:00
|
|
|
class CCEaseSineIn : public CCActionEase
|
2012-02-02 14:26:38 +08:00
|
|
|
{
|
2012-08-10 18:14:04 +08:00
|
|
|
CCObject* copyWithZone(CCZone* pZone);
|
|
|
|
CCActionInterval* reverse(void);
|
|
|
|
|
|
|
|
static CCEaseSineIn* create(CCActionInterval* pAction);
|
2012-02-02 14:26:38 +08:00
|
|
|
};
|
|
|
|
|
2012-08-10 18:14:04 +08:00
|
|
|
class CCEaseSineOut : public CCActionEase
|
2012-02-02 14:26:38 +08:00
|
|
|
{
|
2012-08-10 18:14:04 +08:00
|
|
|
CCObject* copyWithZone(CCZone* pZone);
|
|
|
|
CCActionInterval* reverse(void);
|
|
|
|
|
|
|
|
static CCEaseSineOut* create(CCActionInterval* pAction);
|
2012-02-02 14:26:38 +08:00
|
|
|
};
|
|
|
|
|
2012-08-10 18:14:04 +08:00
|
|
|
class CCEaseSineInOut : public CCActionEase
|
2012-02-02 14:26:38 +08:00
|
|
|
{
|
2012-08-10 18:14:04 +08:00
|
|
|
CCObject* copyWithZone(CCZone* pZone);
|
|
|
|
CCActionInterval* reverse(void);
|
|
|
|
|
|
|
|
static CCEaseSineInOut* create(CCActionInterval* pAction);
|
2012-02-02 14:26:38 +08:00
|
|
|
};
|
|
|
|
|
2012-08-10 18:14:04 +08:00
|
|
|
class CCEaseElastic : public CCActionEase
|
2012-02-02 14:26:38 +08:00
|
|
|
{
|
2012-08-10 18:14:04 +08:00
|
|
|
CCObject* copyWithZone(CCZone* pZone);
|
|
|
|
CCActionInterval* reverse(void);
|
|
|
|
|
|
|
|
float getPeriod(void);
|
|
|
|
void setPeriod(float fPeriod);
|
|
|
|
|
2012-08-30 15:33:54 +08:00
|
|
|
static CCEaseElastic* create(CCActionInterval *pAction, float fPeriod = 0.3);
|
2012-02-02 14:26:38 +08:00
|
|
|
};
|
|
|
|
|
2012-08-10 18:14:04 +08:00
|
|
|
class CCEaseElasticIn : public CCEaseElastic
|
2012-02-02 14:26:38 +08:00
|
|
|
{
|
2012-08-10 18:14:04 +08:00
|
|
|
CCObject* copyWithZone(CCZone* pZone);
|
|
|
|
CCActionInterval* reverse(void);
|
|
|
|
|
2012-08-30 15:33:54 +08:00
|
|
|
static CCEaseElasticIn* create(CCActionInterval *pAction, float fPeriod = 0.3);
|
2012-02-02 14:26:38 +08:00
|
|
|
};
|
|
|
|
|
2012-08-10 18:14:04 +08:00
|
|
|
class CCEaseElasticOut : public CCEaseElastic
|
2012-02-02 14:26:38 +08:00
|
|
|
{
|
2012-08-10 18:14:04 +08:00
|
|
|
CCObject* copyWithZone(CCZone* pZone);
|
|
|
|
CCActionInterval* reverse(void);
|
|
|
|
|
2012-08-30 15:33:54 +08:00
|
|
|
static CCEaseElasticOut* create(CCActionInterval *pAction, float fPeriod = 0.3);
|
2012-02-02 14:26:38 +08:00
|
|
|
};
|
|
|
|
|
2012-08-10 18:14:04 +08:00
|
|
|
class CCEaseElasticInOut : public CCEaseElastic
|
2012-02-02 14:26:38 +08:00
|
|
|
{
|
2012-08-10 18:14:04 +08:00
|
|
|
CCObject* copyWithZone(CCZone* pZone);
|
|
|
|
CCActionInterval* reverse(void);
|
|
|
|
|
2012-08-30 15:33:54 +08:00
|
|
|
static CCEaseElasticInOut* create(CCActionInterval *pAction, float fPeriod = 0.3);
|
2012-02-02 14:26:38 +08:00
|
|
|
};
|
|
|
|
|
2012-08-10 18:14:04 +08:00
|
|
|
class CCEaseBounce : public CCActionEase
|
2012-02-02 14:26:38 +08:00
|
|
|
{
|
2012-08-10 18:14:04 +08:00
|
|
|
CCObject* copyWithZone(CCZone* pZone);
|
|
|
|
CCActionInterval* reverse(void);
|
|
|
|
|
|
|
|
static CCEaseBounce* create(CCActionInterval* pAction);
|
2012-02-02 14:26:38 +08:00
|
|
|
};
|
|
|
|
|
2012-08-10 18:14:04 +08:00
|
|
|
class CCEaseBounceIn : public CCEaseBounce
|
2012-02-02 14:26:38 +08:00
|
|
|
{
|
2012-08-10 18:14:04 +08:00
|
|
|
CCObject* copyWithZone(CCZone* pZone);
|
|
|
|
CCActionInterval* reverse(void);
|
|
|
|
|
|
|
|
static CCEaseBounceIn* create(CCActionInterval* pAction);
|
2012-02-02 14:26:38 +08:00
|
|
|
};
|
|
|
|
|
2012-08-10 18:14:04 +08:00
|
|
|
class CCEaseBounceOut : public CCEaseBounce
|
2012-02-02 14:26:38 +08:00
|
|
|
{
|
2012-08-10 18:14:04 +08:00
|
|
|
CCObject* copyWithZone(CCZone* pZone);
|
|
|
|
CCActionInterval* reverse(void);
|
|
|
|
|
|
|
|
static CCEaseBounceOut* create(CCActionInterval* pAction);
|
2012-02-02 14:26:38 +08:00
|
|
|
};
|
|
|
|
|
2012-08-10 18:14:04 +08:00
|
|
|
class CCEaseBounceInOut : public CCEaseBounce
|
2012-02-02 14:26:38 +08:00
|
|
|
{
|
2012-08-10 18:14:04 +08:00
|
|
|
CCObject* copyWithZone(CCZone* pZone);
|
|
|
|
CCActionInterval* reverse(void);
|
|
|
|
|
|
|
|
static CCEaseBounceInOut* create(CCActionInterval* pAction);
|
2012-02-02 14:26:38 +08:00
|
|
|
};
|
|
|
|
|
2012-08-10 18:14:04 +08:00
|
|
|
class CCEaseBackIn : public CCActionEase
|
2012-02-02 14:26:38 +08:00
|
|
|
{
|
2012-08-10 18:14:04 +08:00
|
|
|
CCObject* copyWithZone(CCZone* pZone);
|
|
|
|
CCActionInterval* reverse(void);
|
|
|
|
|
|
|
|
static CCEaseBackIn* create(CCActionInterval* pAction);
|
2012-02-02 14:26:38 +08:00
|
|
|
};
|
|
|
|
|
2012-08-10 18:14:04 +08:00
|
|
|
class CCEaseBackOut : public CCActionEase
|
2012-02-02 14:26:38 +08:00
|
|
|
{
|
2012-08-10 18:14:04 +08:00
|
|
|
CCObject* copyWithZone(CCZone* pZone);
|
|
|
|
CCActionInterval* reverse(void);
|
|
|
|
|
|
|
|
static CCEaseBackOut* create(CCActionInterval* pAction);
|
2012-02-02 14:26:38 +08:00
|
|
|
};
|
|
|
|
|
2012-08-10 18:14:04 +08:00
|
|
|
class CCEaseBackInOut : public CCActionEase
|
2012-02-02 14:26:38 +08:00
|
|
|
{
|
2012-08-10 18:14:04 +08:00
|
|
|
CCObject* copyWithZone(CCZone* pZone);
|
|
|
|
CCActionInterval* reverse(void);
|
|
|
|
|
|
|
|
static CCEaseBackInOut* create(CCActionInterval* pAction);
|
2012-02-02 14:26:38 +08:00
|
|
|
};
|