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
|
|
|
|
|
2013-06-20 14:15:53 +08:00
|
|
|
class CCBSequenceProperty : public Object
|
2012-09-17 14:27:17 +08:00
|
|
|
{
|
|
|
|
public:
|
|
|
|
CCBSequenceProperty();
|
|
|
|
~CCBSequenceProperty();
|
|
|
|
|
|
|
|
virtual bool init();
|
|
|
|
|
|
|
|
const char* getName();
|
|
|
|
void setName(const char* pName);
|
|
|
|
|
|
|
|
int getType();
|
2013-07-27 21:44:49 +08:00
|
|
|
void setType(int type);
|
2012-09-17 14:27:17 +08:00
|
|
|
|
2013-06-20 14:15:53 +08:00
|
|
|
Array* getKeyframes();
|
2013-07-27 22:31:57 +08:00
|
|
|
|
|
|
|
private:
|
|
|
|
std::string _name;
|
|
|
|
int _type;
|
|
|
|
Array *_keyframes;
|
2012-09-17 14:27:17 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
NS_CC_EXT_END
|
|
|
|
|
|
|
|
#endif // __CCB_SEQUENCE_PROPERTY_H__
|