2012-09-17 14:27:17 +08:00
|
|
|
#ifndef __CCB_CCSEQUENCE_H__
|
|
|
|
#define __CCB_CCSEQUENCE_H__
|
|
|
|
|
|
|
|
#include <string>
|
2012-09-19 18:41:50 +08:00
|
|
|
#include "cocos2d.h"
|
|
|
|
#include "ExtensionMacros.h"
|
2012-09-17 14:27:17 +08:00
|
|
|
|
|
|
|
NS_CC_EXT_BEGIN
|
|
|
|
|
2012-09-24 11:08:10 +08:00
|
|
|
class CCBSequence : public CCObject
|
2012-09-17 14:27:17 +08:00
|
|
|
{
|
|
|
|
private:
|
|
|
|
float mDuration;
|
|
|
|
std::string mName;
|
|
|
|
int mSequenceId;
|
|
|
|
int mChainedSequenceId;
|
|
|
|
|
|
|
|
public:
|
|
|
|
CCBSequence();
|
|
|
|
|
|
|
|
float getDuration();
|
|
|
|
void setDuration(float fDuration);
|
|
|
|
|
|
|
|
const char* getName();
|
|
|
|
void setName(const char *pName);
|
|
|
|
|
|
|
|
int getSequenceId();
|
|
|
|
void setSequenceId(int nSequenceId);
|
|
|
|
|
|
|
|
int getChainedSequenceId();
|
|
|
|
void setChainedSequenceId(int nChainedSequenceId);
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
NS_CC_EXT_END
|
|
|
|
|
|
|
|
|
|
|
|
#endif // __CCB_CCSEQUENCE_H__
|