axmol/cocos/editor-support/cocostudio/ActionTimeline/CCActionTimelineData.h

25 lines
636 B
C
Raw Normal View History

2019-11-24 23:15:56 +08:00
#pragma once
#include "editor-support/cocostudio/CCComBase.h"
#include "2d/CCComponent.h"
#include "editor-support/cocostudio/CocosStudioExport.h"
#include "editor-support/cocostudio/ActionTimeline/CCTimelineMacro.h"
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