submit the actions tests code
This commit is contained in:
natural-law 2010-08-10 01:45:25 +00:00
parent cab9c0536f
commit 7f3960eec9
2 changed files with 2 additions and 16 deletions

View File

@ -328,9 +328,9 @@ void ActionRotate::onEnter()
centerSprites(3);
CCIntervalAction* actionTo = CCRotateTo::actionWithDuration( 10, 45);
CCIntervalAction* actionTo = CCRotateTo::actionWithDuration( 2, 45);
CCIntervalAction* actionTo2 = CCRotateTo::actionWithDuration( 2, -45);
CCIntervalAction* actionTo0 = CCRotateTo::actionWithDuration(15 , 0);
CCIntervalAction* actionTo0 = CCRotateTo::actionWithDuration(2 , 0);
m_grossini->runAction( CCSequence::actions(actionTo, actionTo0, NULL));
// CCIntervalAction* actionBy = CCRotateBy::actionWithDuration(2 , 360);
@ -702,11 +702,6 @@ std::string ActionRotateToRepeat ::subtitle()
return "Repeat/RepeatForever + RotateTo";
}
// std::string ActionRotateToRepeat::subtitle()
// {
// return "You should see smooth movements (no jerks). issue #390";
// }
//------------------------------------------------------------------
//
@ -736,12 +731,6 @@ std::string ActionRotateJerk::subtitle()
return "RepeatForever / Repeat + Rotate";
}
// std::string ActionRotateJerk::subtitle()
// {
// return "You should see smooth movements (no jerks). issue #390";
// }
//------------------------------------------------------------------
//
// ActionReverse

View File

@ -73,7 +73,6 @@ protected:
void alignSpritesLeft(unsigned int numberOfSprites);
virtual std::string title();
virtual std::string subtitle();
// void alignSpritesLeft(unsigned int numberOfSprites);
// void restartCallback(UxObject* pSender);
// void nextCallback(UxObject* pSender);
@ -231,7 +230,6 @@ class ActionRotateToRepeat : public ActionsDemo
public:
virtual void onEnter();
virtual std::string subtitle();
/* virtual UxString subtitle();*/
};
class ActionRotateJerk : public ActionsDemo
@ -239,7 +237,6 @@ class ActionRotateJerk : public ActionsDemo
public:
virtual void onEnter();
virtual std::string subtitle();
/* virtual UxString subtitle();*/
};
class ActionCallFunc : public ActionsDemo