2014-03-07 15:36:45 +08:00
|
|
|
#ifndef __CustomUI__CustomParticleWidgetTest__
|
|
|
|
#define __CustomUI__CustomParticleWidgetTest__
|
|
|
|
|
|
|
|
#include "cocos2d.h"
|
|
|
|
#include "extensions/cocos-ext.h"
|
2015-04-03 14:31:03 +08:00
|
|
|
#include "BaseTest.h"
|
2014-03-07 15:36:45 +08:00
|
|
|
|
|
|
|
class CustomParticleWidgetLayer : public cocos2d::Layer
|
|
|
|
{
|
|
|
|
public:
|
2015-04-03 14:31:03 +08:00
|
|
|
CREATE_FUNC(CustomParticleWidgetLayer);
|
|
|
|
|
|
|
|
virtual bool init() override;
|
2014-03-07 15:36:45 +08:00
|
|
|
};
|
|
|
|
|
2015-04-03 14:31:03 +08:00
|
|
|
class CustomParticleWidgetScene : public TestCase
|
2014-03-07 15:36:45 +08:00
|
|
|
{
|
|
|
|
public:
|
2015-04-03 14:31:03 +08:00
|
|
|
CREATE_FUNC(CustomParticleWidgetScene);
|
|
|
|
|
|
|
|
virtual bool init() override;
|
|
|
|
virtual std::string title() const override { return getTestCaseName(); }
|
2014-03-07 15:36:45 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif /* defined(__CustomUI__CustomParticleWidgetTest__) */
|