axmol/extensions/libeditor/ActionTimeline/CCActionTimelineData.h

25 lines
581 B
C
Raw Normal View History

2019-11-24 23:15:56 +08:00
#pragma once
2020-10-17 16:32:16 +08:00
#include "libeditor/CCComBase.h"
2019-11-24 23:15:56 +08:00
#include "2d/CCComponent.h"
2020-10-17 16:32:16 +08:00
#include "libeditor/CocosStudioExport.h"
#include "libeditor/ActionTimeline/CCTimelineMacro.h"
2019-11-24 23:15:56 +08:00
NS_TIMELINE_BEGIN
2020-10-17 16:32:16 +08:00
class CCS_DLL ActionTimelineData : public cocos2d::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; }
CC_CONSTRUCTOR_ACCESS:
ActionTimelineData();
virtual bool init(int actionTag);
protected:
int _actionTag;
};
NS_TIMELINE_END