#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; } ActionTimelineData(); virtual bool init(int actionTag); protected: int _actionTag; }; NS_TIMELINE_END