mirror of https://github.com/axmolengine/axmol.git
issue cocos2d/cocos2d-js #2563 : ActionTimelineData need to use its constructor in jsb code. So i modify the constructor to public
This commit is contained in:
parent
fe63a1a46c
commit
4cc0dd129a
|
@ -45,10 +45,10 @@ public:
|
||||||
|
|
||||||
virtual void setActionTag(int actionTag) { _actionTag = actionTag; }
|
virtual void setActionTag(int actionTag) { _actionTag = actionTag; }
|
||||||
virtual int getActionTag() const { return _actionTag; }
|
virtual int getActionTag() const { return _actionTag; }
|
||||||
protected:
|
CC_CONSTRUCTOR_ACCESS:
|
||||||
ActionTimelineData();
|
ActionTimelineData();
|
||||||
virtual bool init(int actionTag);
|
virtual bool init(int actionTag);
|
||||||
|
protected:
|
||||||
int _actionTag;
|
int _actionTag;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue