axmol/extensions/cocostudio/ActionTimeline/CCActionTimelineData.h

25 lines
591 B
C
Raw Normal View History

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