axmol/tests/cpp-tests/Classes/ZwoptexTest/ZwoptexTest.h

34 lines
622 B
C
Raw Normal View History

2011-03-22 14:59:10 +08:00
#ifndef __ZWOPTEX_TEST_H__
#define __ZWOPTEX_TEST_H__
#include "../BaseTest.h"
2011-03-22 14:59:10 +08:00
DEFINE_TEST_SUITE(ZwoptexTests);
class ZwoptexTest : public TestCase
2011-03-22 14:59:10 +08:00
{
public:
};
class ZwoptexGenericTest : public ZwoptexTest
{
public:
CREATE_FUNC(ZwoptexGenericTest);
virtual ~ZwoptexGenericTest();
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
virtual std::string title() const override;
virtual std::string subtitle() const override;
2011-03-22 14:59:10 +08:00
protected:
cocos2d::Sprite* sprite1;
cocos2d::Sprite* sprite2;
int counter;
2011-03-22 14:59:10 +08:00
};
#endif // __ZWOPTEX_TEST_H__