2019-11-24 23:15:56 +08:00
|
|
|
#pragma once
|
|
|
|
|
2020-10-21 10:12:00 +08:00
|
|
|
#include "CCComBase.h"
|
2019-11-24 23:15:56 +08:00
|
|
|
#include "2d/CCComponent.h"
|
2020-10-21 10:12:00 +08:00
|
|
|
#include "CocosStudioExport.h"
|
|
|
|
#include "ActionTimeline/CCTimelineMacro.h"
|
2019-11-24 23:15:56 +08:00
|
|
|
|
|
|
|
NS_TIMELINE_BEGIN
|
|
|
|
|
2022-07-11 17:50:21 +08:00
|
|
|
class CCS_DLL ActionTimelineData : public axis::Ref
|
2019-11-24 23:15:56 +08:00
|
|
|
{
|
|
|
|
public:
|
|
|
|
static ActionTimelineData* create(int actionTag);
|
|
|
|
|
|
|
|
virtual void setActionTag(int actionTag) { _actionTag = actionTag; }
|
|
|
|
virtual int getActionTag() const { return _actionTag; }
|
2022-03-18 21:46:07 +08:00
|
|
|
ActionTimelineData();
|
2019-11-24 23:15:56 +08:00
|
|
|
virtual bool init(int actionTag);
|
2021-12-25 10:04:45 +08:00
|
|
|
|
2019-11-24 23:15:56 +08:00
|
|
|
protected:
|
|
|
|
int _actionTag;
|
|
|
|
};
|
|
|
|
|
|
|
|
NS_TIMELINE_END
|