axmol/extensions/cocostudio/ActionTimeline/CCActionTimelineData.h

25 lines
553 B
C++

#pragma once
#include "CCComBase.h"
#include "2d/CCComponent.h"
#include "CocosStudioExport.h"
#include "ActionTimeline/CCTimelineMacro.h"
NS_TIMELINE_BEGIN
class CCS_DLL ActionTimelineData : public cocos2d::Ref
{
public:
static ActionTimelineData* create(int actionTag);
virtual void setActionTag(int actionTag) { _actionTag = actionTag; }
virtual int getActionTag() const { return _actionTag; }
CC_CONSTRUCTOR_ACCESS : ActionTimelineData();
virtual bool init(int actionTag);
protected:
int _actionTag;
};
NS_TIMELINE_END