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

34 lines
622 B
C++

#ifndef __ZWOPTEX_TEST_H__
#define __ZWOPTEX_TEST_H__
#include "../BaseTest.h"
DEFINE_TEST_SUITE(ZwoptexTests);
class ZwoptexTest : public TestCase
{
public:
};
class ZwoptexGenericTest : public ZwoptexTest
{
public:
CREATE_FUNC(ZwoptexGenericTest);
virtual ~ZwoptexGenericTest();
virtual void onEnter() override;
void flipSprites(float dt);
void startIn05Secs(float dt);
virtual std::string title() const override;
virtual std::string subtitle() const override;
protected:
cocos2d::Sprite* sprite1;
cocos2d::Sprite* sprite2;
int counter;
};
#endif // __ZWOPTEX_TEST_H__