mirror of https://github.com/axmolengine/axmol.git
25 lines
524 B
C++
25 lines
524 B
C++
#pragma once
|
|
|
|
#include "CCComBase.h"
|
|
#include "2d/CCComponent.h"
|
|
#include "CocosStudioExport.h"
|
|
#include "ActionTimeline/CCTimelineMacro.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
|