2012-09-17 14:27:17 +08:00
|
|
|
#ifndef __CCB_SEQUENCE_PROPERTY_H__
|
|
|
|
#define __CCB_SEQUENCE_PROPERTY_H__
|
|
|
|
|
|
|
|
#include "cocos2d.h"
|
|
|
|
#include "ExtensionMacros.h"
|
|
|
|
#include "CCBKeyframe.h"
|
|
|
|
|
|
|
|
NS_CC_EXT_BEGIN
|
|
|
|
|
2012-09-24 11:08:10 +08:00
|
|
|
class CCBSequenceProperty : public CCObject
|
2012-09-17 14:27:17 +08:00
|
|
|
{
|
|
|
|
private:
|
|
|
|
std::string mName;
|
|
|
|
int mType;
|
|
|
|
CCArray *mKeyframes;
|
|
|
|
|
|
|
|
public:
|
|
|
|
CCBSequenceProperty();
|
|
|
|
~CCBSequenceProperty();
|
|
|
|
|
|
|
|
virtual bool init();
|
|
|
|
|
|
|
|
const char* getName();
|
|
|
|
void setName(const char* pName);
|
|
|
|
|
|
|
|
int getType();
|
|
|
|
void setType(int nType);
|
|
|
|
|
|
|
|
CCArray* getKeyframes();
|
|
|
|
};
|
|
|
|
|
|
|
|
NS_CC_EXT_END
|
|
|
|
|
|
|
|
#endif // __CCB_SEQUENCE_PROPERTY_H__
|