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:
jianglong0156 2015-01-12 11:57:03 +08:00
parent fe63a1a46c
commit 4cc0dd129a
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}; };