Files

50 lines
667 B
C++
Raw Permalink Normal View History

2026-03-03 13:56:44 +08:00
#include "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;
}
}