add subTitle (#19731)

This commit is contained in:
coulsonwang 2019-05-22 09:52:40 +08:00 committed by minggo
parent 97431b1197
commit a066ac729f
2 changed files with 6 additions and 0 deletions

View File

@ -134,6 +134,11 @@ std::string MotionStreakTest2::title() const
return "MotionStreak test";
}
std::string MotionStreakTest2::subtitle() const
{
return "Need Touch Movement";
}
//------------------------------------------------------------------
//
// Issue1358

View File

@ -69,6 +69,7 @@ public:
virtual void onEnter() override;
void onTouchesMoved(const std::vector<cocos2d::Touch*>& touches, cocos2d::Event* event);
virtual std::string title() const override;
virtual std::string subtitle() const override;
};
class Issue1358 : public MotionStreakTest