Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

adds more actions

  • Loading branch information...
commit 215032ebb1943758bcf57128eb97dc96200e819b 1 parent 750ccd1
@funkaster funkaster authored
Showing with 25 additions and 0 deletions.
  1. +25 −0 testjs/JSBindings/ScriptingCore.cpp
View
25 testjs/JSBindings/ScriptingCore.cpp
@@ -58,14 +58,39 @@ ScriptingCore::ScriptingCore()
S_CCSpriteFrameCache::jsCreateClass(this->cx, cocos, "SpriteFrameCache");
S_CCAnimation::jsCreateClass(this->cx, cocos, "Animation");
S_CCAction::jsCreateClass(this->cx, cocos, "Action");
+ S_CCActionInterval::jsCreateClass(this->cx, cocos, "ActionInterval");
+ S_CCFiniteTimeAction::jsCreateClass(this->cx, cocos, "FiniteTimeAction");
S_CCAnimate::jsCreateClass(this->cx, cocos, "Animate");
S_CCMoveBy::jsCreateClass(this->cx, cocos, "MoveBy");
S_CCMoveTo::jsCreateClass(this->cx, cocos, "MoveTo");
S_CCRotateBy::jsCreateClass(this->cx, cocos, "RotateBy");
S_CCRotateTo::jsCreateClass(this->cx, cocos, "RotateTo");
+ S_CCEaseBackInOut::jsCreateClass(this->cx, cocos, "EaseBackInOut");
+ S_CCEaseBackOut::jsCreateClass(this->cx, cocos, "EaseBackOut");
+ S_CCEaseElasticIn::jsCreateClass(this->cx, cocos, "EaseElasticIn");
+ S_CCEaseElastic::jsCreateClass(this->cx, cocos, "EaseElastic");
+ S_CCEaseElasticOut::jsCreateClass(this->cx, cocos, "EaseElasticOut");
+ S_CCEaseElasticInOut::jsCreateClass(this->cx, cocos, "EaseElasticInOut");
+ S_CCEaseBounceIn::jsCreateClass(this->cx, cocos, "EaseBounceIn");
+ S_CCEaseBounce::jsCreateClass(this->cx, cocos, "EaseBounce");
+ S_CCEaseBounceInOut::jsCreateClass(this->cx, cocos, "EaseBounceInOut");
+ S_CCEaseBackIn::jsCreateClass(this->cx, cocos, "EaseBackIn");
+ S_CCEaseBounceOut::jsCreateClass(this->cx, cocos, "EaseBounceOut");
+ S_CCEaseIn::jsCreateClass(this->cx, cocos, "EaseIn");
+ S_CCEaseOut::jsCreateClass(this->cx, cocos, "EaseOut");
+ S_CCEaseExponentialIn::jsCreateClass(this->cx, cocos, "EaseExponentialIn");
+ S_CCEaseInOut::jsCreateClass(this->cx, cocos, "EaseInOut");
+ S_CCEaseExponentialOut::jsCreateClass(this->cx, cocos, "EaseExponentialOut");
+ S_CCEaseExponentialInOut::jsCreateClass(this->cx, cocos, "EaseExponentialInOut");
+ S_CCEaseSineIn::jsCreateClass(this->cx, cocos, "EaseSineIn");
+ S_CCEaseSineOut::jsCreateClass(this->cx, cocos, "EaseSineOut");
+ S_CCEaseSineInOut::jsCreateClass(this->cx, cocos, "EaseSineInOut");
+ S_CCActionEase::jsCreateClass(this->cx, cocos, "ActionEase");
+ S_CCEaseRateAction::jsCreateClass(this->cx, cocos, "EaseRateAction");
S_CCRepeatForever::jsCreateClass(this->cx, cocos, "RepeatForever");
S_CCSequence::jsCreateClass(this->cx, cocos, "Sequence");
S_CCLabelTTF::jsCreateClass(this->cx, cocos, "LabelTTF");
+ S_CCParticleSystem::jsCreateClass(this->cx, cocos, "ParticleSystem");
// register some global functions
JS_DefineFunction(this->cx, cocos, "log", ScriptingCore::log, 0, JSPROP_READONLY | JSPROP_PERMANENT);
Please sign in to comment.
Something went wrong with that request. Please try again.