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

37 lines
640 B
C
Raw Normal View History

2010-08-23 10:17:29 +08:00
#ifndef _EFFECTS_TEST_H_
#define _EFFECTS_TEST_H_
#include "../BaseTest.h"
DEFINE_TEST_SUITE(EffectTests);
class EffectBaseTest : public TestCase
2010-08-23 10:17:29 +08:00
{
protected:
//UxString _title;
cocos2d::NodeGrid* _gridNodeTarget;
public:
static EffectBaseTest* create(int index)
{
auto ret = new (std::nothrow) EffectBaseTest(index);
if (ret && ret->init())
{
ret->autorelease();
}
else
{
delete ret;
ret = nullptr;
}
return ret;
}
EffectBaseTest(int index);
~EffectBaseTest();
2012-06-08 13:55:28 +08:00
void checkAnim(float dt);
2010-08-23 10:17:29 +08:00
};
#endif