axmol/extensions/CCBReader/CCBSequence.h

48 lines
1020 B
C++

#ifndef __CCB_CCSEQUENCE_H__
#define __CCB_CCSEQUENCE_H__
#include <string>
#include "cocos2d.h"
#include "ExtensionMacros.h"
#include "CCBSequenceProperty.h"
NS_CC_EXT_BEGIN
class CCBSequence : public Object
{
private:
float mDuration;
std::string mName;
int mSequenceId;
int mChainedSequenceId;
CCBSequenceProperty* mCallbackChannel;
CCBSequenceProperty* mSoundChannel;
public:
CCBSequence();
~CCBSequence();
float getDuration();
void setDuration(float fDuration);
CCBSequenceProperty* getCallbackChannel();
void setCallbackChannel(CCBSequenceProperty* callbackChannel);
CCBSequenceProperty* getSoundChannel();
void setSoundChannel(CCBSequenceProperty* soundChannel);
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__