2010-08-23 10:17:29 +08:00
|
|
|
#ifndef _EFFECTS_TEST_H_
|
|
|
|
#define _EFFECTS_TEST_H_
|
2012-04-19 14:35:52 +08:00
|
|
|
|
|
|
|
#include "../testBasic.h"
|
|
|
|
|
|
|
|
class EffectTestScene : public TestScene
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
virtual void runThisTest();
|
|
|
|
};
|
|
|
|
|
2010-12-27 09:40:45 +08:00
|
|
|
class TextLayer : public CCLayerColor
|
2010-08-23 10:17:29 +08:00
|
|
|
{
|
2012-04-19 14:35:52 +08:00
|
|
|
protected:
|
|
|
|
//UxString m_strTitle;
|
|
|
|
|
|
|
|
public:
|
|
|
|
TextLayer(void);
|
|
|
|
~TextLayer(void);
|
|
|
|
|
2012-06-08 13:55:28 +08:00
|
|
|
void checkAnim(float dt);
|
2012-04-19 14:35:52 +08:00
|
|
|
|
|
|
|
virtual void onEnter();
|
|
|
|
|
|
|
|
void restartCallback(CCObject* pSender);
|
|
|
|
void nextCallback(CCObject* pSender);
|
|
|
|
void backCallback(CCObject* pSender);
|
|
|
|
|
|
|
|
void newScene();
|
|
|
|
|
2012-06-14 15:13:16 +08:00
|
|
|
static TextLayer* create();
|
2010-08-23 10:17:29 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|