12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- #include "editor-support/cocosbuilder/CCBSequenceProperty.h"
- using namespace cocos2d;
- using namespace std;
- namespace cocosbuilder {
- CCBSequenceProperty::CCBSequenceProperty()
- : _name("")
- , _type(0)
- {
- init();
- }
- bool CCBSequenceProperty::init()
- {
- return true;
- }
- CCBSequenceProperty::~CCBSequenceProperty()
- {
- }
- const char* CCBSequenceProperty::getName()
- {
- return _name.c_str();
- }
- void CCBSequenceProperty::setName(const char *pName)
- {
- _name = pName;
- }
- int CCBSequenceProperty::getType()
- {
- return _type;
- }
- void CCBSequenceProperty::setType(int type)
- {
- _type = type;
- }
- cocos2d::Vector<CCBKeyframe*>& CCBSequenceProperty::getKeyframes()
- {
- return _keyframes;
- }
- }
|