axmol/extensions/cocostudio/ActionTimeline/ActionTimelineData.h

25 lines
518 B
C++

#pragma once
#include "ComBase.h"
#include "2d/Component.h"
#include "CocosStudioExport.h"
#include "ActionTimeline/TimelineMacro.h"
NS_TIMELINE_BEGIN
class CCS_DLL ActionTimelineData : public ax::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