axmol/samples/Cpp/TestCpp/Classes/IntervalTest/IntervalTest.h

38 lines
686 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:
CCLabelBMFont* _label0;
CCLabelBMFont* _label1;
CCLabelBMFont* _label2;
CCLabelBMFont* _label3;
CCLabelBMFont* _label4;
float _time0, _time1, _time2, _time3, _time4;
public:
IntervalLayer(void);
virtual ~IntervalLayer();
public:
2012-06-08 13:55:28 +08:00
void step1(float dt);
void step2(float dt);
void step3(float dt);
void step4(float dt);
void update(float dt);
//CREATE_NODE(IntervalLayer);
};
class IntervalTestScene : public TestScene
{
public:
virtual void runThisTest();
};
#endif