2010-09-06 17:14:41 +08:00
|
|
|
#ifndef _INTERVAL_TEST_H_
|
|
|
|
#define _INTERVAL_TEST_H_
|
|
|
|
|
2012-04-19 14:35:52 +08:00
|
|
|
#include "../testBasic.h"
|
|
|
|
|
2013-06-20 14:17:10 +08:00
|
|
|
class IntervalLayer : public Layer
|
2012-04-19 14:35:52 +08:00
|
|
|
{
|
2014-10-04 08:11:39 +08:00
|
|
|
public:
|
|
|
|
IntervalLayer(void);
|
|
|
|
virtual ~IntervalLayer();
|
|
|
|
|
|
|
|
virtual void update(float dt) override;
|
|
|
|
|
|
|
|
//CREATE_NODE(IntervalLayer);
|
|
|
|
|
2012-04-19 14:35:52 +08:00
|
|
|
protected:
|
2014-03-28 10:28:44 +08:00
|
|
|
Label* _label0;
|
|
|
|
Label* _label1;
|
|
|
|
Label* _label2;
|
|
|
|
Label* _label3;
|
|
|
|
Label* _label4;
|
2012-04-19 14:35:52 +08:00
|
|
|
|
2014-10-04 08:11:39 +08:00
|
|
|
float _time0, _time1, _time2, _time3, _time4;
|
2012-04-19 14:35:52 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
class IntervalTestScene : public TestScene
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
virtual void runThisTest();
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|