mirror of https://github.com/axmolengine/axmol.git
38 lines
686 B
C++
38 lines
686 B
C++
#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:
|
|
|
|
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
|