axmol/extensions/cocostudio/ActionTimeline/CCActionTimelineData.h

25 lines
524 B
C
Raw Normal View History

2019-11-24 23:15:56 +08:00
#pragma once
#include "CCComBase.h"
2019-11-24 23:15:56 +08:00
#include "2d/CCComponent.h"
#include "CocosStudioExport.h"
#include "ActionTimeline/CCTimelineMacro.h"
2019-11-24 23:15:56 +08:00
NS_TIMELINE_BEGIN
2022-08-08 18:02:17 +08:00
class CCS_DLL ActionTimelineData : public ax::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; }
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