axmol/extensions/CCBReader/CCBKeyframe.h

37 lines
622 B
C++

#ifndef __CCB_KEYFRAME_H__
#define __CCB_KEYFRAME_H__
#include "cocos2d.h"
#include "ExtensionMacros.h"
NS_CC_EXT_BEGIN
class CCBKeyframe : public Object
{
private:
Object *mValue;
float mTime;
int mEasingType;
float mEasingOpt;
public:
CCBKeyframe();
~CCBKeyframe();
Object* getValue();
void setValue(Object *pValue); // retain
float getTime();
void setTime(float fTime);
int getEasingType();
void setEasingType(int nEasingType);
float getEasingOpt();
void setEasingOpt(float fEasingOpt);
};
NS_CC_EXT_END
#endif // __CCB_KEYFRAME_H__