axmol/extensions/CCBReader/CCBSequenceProperty.h

42 lines
661 B
C++

#ifndef __CCB_SEQUENCE_PROPERTY_H__
#define __CCB_SEQUENCE_PROPERTY_H__
#include "cocos2d.h"
#include "ExtensionMacros.h"
#include "CCBKeyframe.h"
NS_CC_EXT_BEGIN
class CCBSequenceProperty : public Object
{
public:
/**
* @js ctor
*/
CCBSequenceProperty();
/**
* @js NA
* @lua NA
*/
~CCBSequenceProperty();
virtual bool init();
const char* getName();
void setName(const char* pName);
int getType();
void setType(int type);
Array* getKeyframes();
private:
std::string _name;
int _type;
Array *_keyframes;
};
NS_CC_EXT_END
#endif // __CCB_SEQUENCE_PROPERTY_H__