axmol/test_uphone/tests/IntervalTest/IntervalTest.h

39 lines
705 B
C
Raw Normal View History

2010-09-06 17:14:41 +08:00
#ifndef _INTERVAL_TEST_H_
#define _INTERVAL_TEST_H_
#include "../testBasic.h"
class IntervalLayer : public CCLayer
{
protected:
CCBitmapFontAtlas* m_label0;
2010-09-06 17:14:41 +08:00
CCBitmapFontAtlas* m_label1;
CCBitmapFontAtlas* m_label2;
CCBitmapFontAtlas* m_label3;
CCBitmapFontAtlas* m_label4;
2010-09-06 17:14:41 +08:00
ccTime m_time0, m_time1, m_time2, m_time3, m_time4;
2010-09-06 17:14:41 +08:00
public:
IntervalLayer(void);
public:
void onPause(NSObject* pSender);
void step1(ccTime dt);
void step2(ccTime dt);
void step3(ccTime dt);
void step4(ccTime dt);
void update(ccTime dt);
2010-09-06 17:14:41 +08:00
//CREATE_NODE(IntervalLayer);
};
class IntervalTestScene : public TestScene
{
public:
virtual void runThisTest();
};
#endif