axmol/extensions/cocostudio/ActionTimeline/CCActionTimelineData.h

25 lines
551 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
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