1234567891011121314151617181920212223242526272829303132333435363738394041 |
- #ifndef __RED_SEQUENCE_PROPERTY_H__
- #define __RED_SEQUENCE_PROPERTY_H__
- #include "base/CCRef.h"
- #include "base/CCVector.h"
- #include "REDKeyframe.h"
- namespace redream {
- class CC_DLL REDSequenceProperty : public cocos2d::Ref
- {
- public:
- /**
- * @js ctor
- */
- REDSequenceProperty();
- /**
- * @js NA
- * @lua NA
- */
- ~REDSequenceProperty();
-
- virtual bool init();
-
- const char* getName();
- void setName(const char* pName);
-
- int getType();
- void setType(int type);
-
- cocos2d::Vector<REDKeyframe*>& getKeyframes();
- private:
- std::string _name;
- int _type;
- cocos2d::Vector<REDKeyframe*> _keyframes;
- };
- }
- #endif // __RED_SEQUENCE_PROPERTY_H__
|