2019-11-24 23:15:56 +08:00
|
|
|
#pragma once
|
|
|
|
|
2020-08-03 20:31:47 +08:00
|
|
|
#include "cocostudio/CCComBase.h"
|
2019-11-24 23:15:56 +08:00
|
|
|
#include "2d/CCComponent.h"
|
2020-08-03 20:31:47 +08:00
|
|
|
#include "cocostudio/CocosStudioExport.h"
|
|
|
|
#include "cocostudio/ActionTimeline/CCTimelineMacro.h"
|
2019-11-24 23:15:56 +08:00
|
|
|
|
|
|
|
NS_TIMELINE_BEGIN
|
|
|
|
|
|
|
|
class CC_STUDIOP_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
|