2011-03-22 14:59:10 +08:00
|
|
|
#ifndef __ZWOPTEX_TEST_H__
|
|
|
|
#define __ZWOPTEX_TEST_H__
|
|
|
|
|
2013-06-12 07:30:05 +08:00
|
|
|
#include "../BaseTest.h"
|
2011-03-22 14:59:10 +08:00
|
|
|
|
2015-04-03 14:31:03 +08:00
|
|
|
DEFINE_TEST_SUITE(ZwoptexTests);
|
|
|
|
|
|
|
|
class ZwoptexTest : public TestCase
|
2011-03-22 14:59:10 +08:00
|
|
|
{
|
|
|
|
public:
|
|
|
|
};
|
|
|
|
|
|
|
|
class ZwoptexGenericTest : public ZwoptexTest
|
|
|
|
{
|
|
|
|
public:
|
2015-04-03 14:31:03 +08:00
|
|
|
CREATE_FUNC(ZwoptexGenericTest);
|
|
|
|
|
|
|
|
virtual ~ZwoptexGenericTest();
|
|
|
|
|
2014-02-27 21:10:03 +08:00
|
|
|
virtual void onEnter() override;
|
2012-06-08 13:55:28 +08:00
|
|
|
void flipSprites(float dt);
|
|
|
|
void startIn05Secs(float dt);
|
2011-03-22 14:59:10 +08:00
|
|
|
|
2013-12-19 05:52:10 +08:00
|
|
|
virtual std::string title() const override;
|
|
|
|
virtual std::string subtitle() const override;
|
2011-03-22 14:59:10 +08:00
|
|
|
|
|
|
|
protected:
|
2015-04-09 08:37:30 +08:00
|
|
|
cocos2d::Sprite* sprite1;
|
|
|
|
cocos2d::Sprite* sprite2;
|
2012-04-19 14:35:52 +08:00
|
|
|
int counter;
|
2011-03-22 14:59:10 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // __ZWOPTEX_TEST_H__
|